From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove nbtree BTreeTupleSetAltHeapTID() function.
Date: Tue, 07 Apr 2020 22:58:40 +0000
Message-ID: <E1jLxB2-0001xx-6m@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: pg@bowt.ie
Subject: Re: pgsql: Remove nbtree BTreeTupleSetAltHeapTID() function.
In-Reply-To: <E1jLxB2-0001xx-6m@gemulon.postgresql.org>
References: <E1jLxB2-0001xx-6m@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox