Commit 0d78936
committed
Remove unnecessary set_lwlsn_block_* hooks
The hook calls from gist_indexsortbuild() on PostgreSQL 17 was
unnecessary, because the smgr_bulk_*() functions perform
smgrextend/smgrwrite calls and WAL-logging so that the last-written
LSN cache is updated normally. (If they didn't, we'd have problems
with B-tree index builds and anything else that uses the bulk-writing
facility too.)
Remove those hook calls from gist_indexsortbuild(). That was the only
usage of set_lwlsn_block_hook. set_lwlsn_block_range_hook and
set_lwlsn_block_v_hook were unused even before this.1 parent 1b558ed commit 0d78936
File tree
3 files changed
+0
-20
lines changed- src
- backend/access
- gist
- transam
- include/access
3 files changed
+0
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | 459 | | |
471 | 460 | | |
472 | 461 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 153 | | |
157 | 154 | | |
158 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | 285 | | |
289 | 286 | | |
290 | 287 | | |
291 | 288 | | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | 289 | | |
296 | 290 | | |
297 | 291 | | |
| |||
0 commit comments