Commit 2ab2344
committed
Remove unneeded argument from _bt_getstackbuf().
_bt_getstackbuf() is called at exactly two points following commit
efada2b (one call site is concerned with page splits, while the
other is concerned with page deletion). The parent buffer returned by
_bt_getstackbuf() is write-locked in both cases. Remove the 'access'
argument and make _bt_getstackbuf() assume that callers require a
write-lock.1 parent 067786c commit 2ab2344
File tree
3 files changed
+8
-7
lines changed- src
- backend/access/nbtree
- include/access
3 files changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1886 | 1886 | | |
1887 | 1887 | | |
1888 | 1888 | | |
1889 | | - | |
| 1889 | + | |
1890 | 1890 | | |
1891 | 1891 | | |
1892 | 1892 | | |
| |||
1976 | 1976 | | |
1977 | 1977 | | |
1978 | 1978 | | |
1979 | | - | |
| 1979 | + | |
| 1980 | + | |
1980 | 1981 | | |
1981 | 1982 | | |
1982 | | - | |
| 1983 | + | |
1983 | 1984 | | |
1984 | 1985 | | |
1985 | 1986 | | |
| |||
1993 | 1994 | | |
1994 | 1995 | | |
1995 | 1996 | | |
1996 | | - | |
| 1997 | + | |
1997 | 1998 | | |
1998 | 1999 | | |
1999 | 2000 | | |
2000 | | - | |
| 2001 | + | |
2001 | 2002 | | |
2002 | 2003 | | |
2003 | 2004 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1153 | 1153 | | |
1154 | 1154 | | |
1155 | 1155 | | |
1156 | | - | |
| 1156 | + | |
1157 | 1157 | | |
1158 | 1158 | | |
1159 | 1159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
531 | | - | |
| 531 | + | |
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
| |||
0 commit comments