pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: nbtree: Rename BT_RESERVED_OFFSET_MASK.
Date: Wed, 22 Apr 2020 23:12:09 +0000
Message-ID: <E1jROXJ-0001kN-0n@gemulon.postgresql.org> (raw)

nbtree: Rename BT_RESERVED_OFFSET_MASK.

The mask was added by commit 8224de4f, which introduced INCLUDE nbtree
indexes.  The status bits really were reserved initially.  We now use 2
out of 4 of the bits for additional tuple metadata, though.  Rename the
mask to BT_STATUS_OFFSET_MASK.

Also consolidate related nbtree.h code comments about the format of
pivot tuples and posting list tuples.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/48107e396f75ea65192153707a8c476f66b59061

Modified Files
--------------
src/include/access/nbtree.h | 69 ++++++++++++++++++++-------------------------
1 file changed, 31 insertions(+), 38 deletions(-)



Message-ID: <E1jROXJ-0001kN-0n@gemulon.postgresql.org>
Permalink:  ../E1jROXJ-0001kN-0n@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jROXJ-0001kN-0n@gemulon.postgresql.org

 · 

reply

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: nbtree: Rename BT_RESERVED_OFFSET_MASK.
  In-Reply-To: <E1jROXJ-0001kN-0n@gemulon.postgresql.org>
  References: <E1jROXJ-0001kN-0n@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