pgsql: nbtree: Tweak _bt_pgaddtup() comments.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: nbtree: Tweak _bt_pgaddtup() comments.
Date: 2019-11-18 21:05:08
Message-ID: E1iWoCq-0003bd-9V@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

nbtree: Tweak _bt_pgaddtup() comments.

Make it clear that _bt_pgaddtup() truncates the first data item on an
internal page because its key is supposed to be treated as minus
infinity within _bt_compare().

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2110f716965fe1ac5af83380aa108541b1457e0d

Modified Files
--------------
src/backend/access/nbtree/nbtinsert.c | 9 ++++-----
src/backend/access/nbtree/nbtsort.c | 7 +++----
2 files changed, 7 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2019-11-18 22:34:25 Re: pgsql: Add tests for tuplesort.c.
Previous Message Tom Lane 2019-11-17 01:00:40 pgsql: Further fix dumping of views that contain just VALUES(...).