pgsql: Make deduplication use number of key attributes.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make deduplication use number of key attributes.
Date: 2020-03-29 03:25:35
Message-ID: E1jIOZr-0005fy-Gf@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2020-03-29 06:36:46 pgsql: Attempt to fix unstable regression tests
Previous Message Tom Lane 2020-03-28 22:31:14 pgsql: Fix lquery's behavior for consecutive '*' items.