pgsql: Make deduplication use number of key attributes. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Make deduplication use number of key attributes.
Date
Msg-id E1jIOZr-0005fy-Gf@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make deduplication use number of key attributes.

Use IndexRelationGetNumberOfKeyAttributes() rather than
IndexRelationGetNumberOfAttributes() when determining whether or not two
index tuples are suitable for merging together into a single posting
list tuple.  This is a little bit tidier.  It brings affected code in
nbtdedup.c a little closer to similar, related code in nbtsplitloc.c.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a7b9d24e4e00048bf9d99b197996476dcf9492de

Modified Files
--------------
src/backend/access/nbtree/nbtdedup.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix lquery's behavior for consecutive '*' items.
Next
From: David Rowley
Date:
Subject: pgsql: Attempt to fix unstable regression tests