hash_array_extended() needs to pass down collation - Mailing list pgsql-hackers

From Peter Eisentraut
Subject hash_array_extended() needs to pass down collation
Date
Msg-id 32c1fdae-95c6-5dc6-058a-a90330a3b621@enterprisedb.com
Whole thread Raw
Responses Re: hash_array_extended() needs to pass down collation  (Heikki Linnakangas <hlinnaka@iki.fi>)
Re: hash_array_extended() needs to pass down collation  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I noticed that hash_array_extended() does not pass down the collation to 
the element's collation function, unlike hash_array().  As a 
consequence, hash partitioning using text arrays as partition key fails.

The attached patch fixes this.  I propose to backpatch this.

Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Reduce the number of special cases to build contrib modules on windows
Next
From: Amit Langote
Date:
Subject: Re: making update/delete of inheritance trees scale better