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

From Tom Lane
Subject Re: hash_array_extended() needs to pass down collation
Date
Msg-id 641013.1604329313@sss.pgh.pa.us
Whole thread Raw
In response to hash_array_extended() needs to pass down collation  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Responses Re: hash_array_extended() needs to pass down collation  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
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

            regards, tom lane



pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Fix a typo in verify_heapam.c
Next
From: Anastasia Lubennikova
Date:
Subject: Re: Improving psql slash usage help message