pgsql: Correct more obsolete nbtree page split comments. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Correct more obsolete nbtree page split comments.
Date
Msg-id E1hMewW-0006ZL-SY@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Correct more obsolete nbtree page split comments.

Commit 3f342839 corrected obsolete comments about buffer locks at the
main _bt_insert_parent() call site, but missed similar obsolete comments
above _bt_insert_parent() itself.  Both sets of comments were rendered
obsolete by commit 40dae7ec537, which made the nbtree page split
algorithm more robust.  Fix the comments that were missed the first time
around now.

In passing, refine a related _bt_insert_parent() comment about
re-finding the parent page to insert new downlink.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7b37f4b02e11813b3cd9f7086149ba962a91e03c

Modified Files
--------------
src/backend/access/nbtree/nbtinsert.c | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: remove obsolete comment about per-branch documentation.
Next
From: Tom Lane
Date:
Subject: pgsql: First-draft release notes for 11.3.