pgsql: nbtree: Tweak _bt_pgaddtup() comments.

Started by Peter Geogheganover 6 years ago1 messagescomitters
Jump to latest

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(-)