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

From Michael Paquier
Subject Re: hash_array_extended() needs to pass down collation
Date
Msg-id 20201103104854.GE2298@paquier.xyz
Whole thread Raw
In response to Re: hash_array_extended() needs to pass down collation  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: hash_array_extended() needs to pass down collation  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List pgsql-hackers
On Mon, Nov 02, 2020 at 10:01:53AM -0500, Tom Lane wrote:
> Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
>> 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.
>
> LGTM

+1.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Move OpenSSL random under USE_OPENSSL_RANDOM
Next
From: Pavel Borisov
Date:
Subject: Re: Bogus documentation for bogus geometric operators