aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2021-03-02 13:02:24 -0800
committerPeter Geoghegan <pg@bowt.ie>2021-03-02 13:02:24 -0800
commit3d8d5787a358156edaa7782f0c88e231af974a01 (patch)
tree41a5b46ee083eb267201f922ff6b2de52dc8bc25 /src/backend/tcop/postgres.c
parentd16f8c8e416d288bd4734ed5f14076b62ec8d153 (diff)
downloadpostgresql-3d8d5787a358156edaa7782f0c88e231af974a01.tar.gz
postgresql-3d8d5787a358156edaa7782f0c88e231af974a01.zip
Fix nbtree page deletion error messages.
Adjust some "can't happen" error messages that assumed that the page deletion target page must be a half-dead page. This assumption was wrong in the case of an internal target page. Simply refer to these pages as the target page instead. Internal pages are never marked half-dead. There is exactly one half-dead page for each subtree undergoing deletion. The half-dead page is also the target subtree's leaf-level page. This has been the case since commit efada2b8, which totally overhauled nbtree page deletion.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions