pgsql: nbtree: Rename BT_RESERVED_OFFSET_MASK. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: nbtree: Rename BT_RESERVED_OFFSET_MASK.
Date
Msg-id E1jROXJ-0001kN-0n@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tomas Vondra
Date:
Subject: pgsql: Fix cost_incremental_sort for expressions with varno 0
Next
From: Tom Lane
Date:
Subject: pgsql: Doc: improve description of geometric multiplication/division.