Make deduplication use number of key attributes.

Peter Geoghegan <pg@bowt.ie>

Commit: a7b9d24e4e00048bf9d99b197996476dcf9492de
Author: Peter Geoghegan <pg@bowt.ie>
Date: 2020-03-29T03:25:03Z
Releases: 13.0
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.

Files

PathChange+/−
src/backend/access/nbtree/nbtdedup.c modified +5 −5