Commit 32d6287
committed
Get heap page max offset with buffer lock held.
On further reflection it seems better to call PageGetMaxOffsetNumber()
after acquiring a buffer lock on the page. This shouldn't really
matter, but doing it this way is cleaner.
Follow-up to commit 4228817.
Backpatch: 12-, just like commit 42288171 parent 4228817 commit 32d6287
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7075 | 7075 | | |
7076 | 7076 | | |
7077 | 7077 | | |
| 7078 | + | |
| 7079 | + | |
7078 | 7080 | | |
7079 | 7081 | | |
7080 | | - | |
7081 | | - | |
7082 | 7082 | | |
7083 | 7083 | | |
7084 | 7084 | | |
| |||
0 commit comments