pgsql: Remove nbtree BTreeTupleSetAltHeapTID() function.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove nbtree BTreeTupleSetAltHeapTID() function.
Date: 2020-04-07 22:58:40
Message-ID: E1jLxB2-0001xx-6m@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2020-04-07 23:12:14 pgsql: Appease perlcritic
Previous Message Alvaro Herrera 2020-04-07 22:39:19 pgsql: Allow users to limit storage reserved by replication slots