]> granicus.if.org Git - postgresql/commit
Correct obsolete nbtree page deletion comment.
authorPeter Geoghegan <pg@bowt.ie>
Tue, 26 Feb 2019 00:54:18 +0000 (16:54 -0800)
committerPeter Geoghegan <pg@bowt.ie>
Tue, 26 Feb 2019 00:54:18 +0000 (16:54 -0800)
commit067786cea0f150ccf9350abb9a5ac3e4ad328804
treed4adfc2ec8a16ffd6360312302db1cac3603564d
parentb6926dee0e1304368964e1161bfd60dd4b01b25d
Correct obsolete nbtree page deletion comment.

Commit efada2b8e92, which made the nbtree page deletion algorithm more
robust, removed _bt_getstackbuf() calls from _bt_pagedel().  It failed
to update a comment that referenced the earlier approach.  Update the
comment to explain that the _bt_getstackbuf() page deletion call site
mirrors the only other remaining _bt_getstackbuf() call site, which is
reached during page splits.
src/backend/access/nbtree/nbtpage.c