aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication/logical/tablesync.c
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2023-12-08 15:37:53 -0800
committerPeter Geoghegan <pg@bowt.ie>2023-12-08 15:37:53 -0800
commitaa210e0c121eb8f58c86d4fcc833a5a6fbb6f5a9 (patch)
tree10505fb1ed8e9236526ebe51fcffc16aadbc14a3 /src/backend/replication/logical/tablesync.c
parentdc3f9bc549d4cc8cb1d4030bdc94e788d70fdcfe (diff)
downloadpostgresql-aa210e0c121eb8f58c86d4fcc833a5a6fbb6f5a9.tar.gz
postgresql-aa210e0c121eb8f58c86d4fcc833a5a6fbb6f5a9.zip
Fix nbtree backward scan race condition comments.
Remove comments that supposed that holding a pin was a useful interlock for _bt_walk_left(). There are times when _bt_walk_left() doesn't hold either a lock or a pin on any page, so clearly this can't be true. _bt_walk_left() is even prepared to deal with concurrent deletion of both the original page and any pages to its left. Oversight in commit 2ed5b87f96.
Diffstat (limited to 'src/backend/replication/logical/tablesync.c')
0 files changed, 0 insertions, 0 deletions