pgsql: Remove nbtree BTreeTupleSetAltHeapTID() function. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Remove nbtree BTreeTupleSetAltHeapTID() function.
Date
Msg-id E1jLxB2-0001xx-6m@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove nbtree BTreeTupleSetAltHeapTID() function.

Since heap TID is supposed to be just another key attribute to the
implementation, it doesn't make much sense to have separate
BTreeTupleSetNAtts() and BTreeTupleSetAltHeapTID() functions.  Merge the
two functions together.  This slightly simplifies _bt_truncate().

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/60cbd7751c1ec6ffdf2ffc520ddeb35cb2f2ed70

Modified Files
--------------
src/backend/access/nbtree/nbtinsert.c |  4 ++--
src/backend/access/nbtree/nbtsort.c   |  4 ++--
src/backend/access/nbtree/nbtutils.c  | 10 ++++++----
src/include/access/nbtree.h           | 36 ++++++++++++++++-------------------
4 files changed, 26 insertions(+), 28 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Allow users to limit storage reserved by replication slots
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Appease perlcritic