pgsql: nbtree: Tweak _bt_pgaddtup() comments. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: nbtree: Tweak _bt_pgaddtup() comments.
Date
Msg-id E1iWoCq-0003bd-9V@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Further fix dumping of views that contain just VALUES(...).
Next
From: Andres Freund
Date:
Subject: Re: pgsql: Add tests for tuplesort.c.