pgsql: Correct more obsolete nbtree page split comments.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Correct more obsolete nbtree page split comments.
Date: 2019-05-03 20:38:04
Message-ID: E1hMewW-0006ZL-SY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2019-05-03 22:27:59 pgsql: First-draft release notes for 11.3.
Previous Message Tom Lane 2019-05-03 16:32:19 pgsql: Doc: remove obsolete comment about per-branch documentation.