Re: hash_array_extended() needs to pass down collation

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: hash_array_extended() needs to pass down collation
Дата
Msg-id 0daf3966-faf8-d66f-21c4-a1587530f8eb@enterprisedb.com
обсуждение исходный текст
Ответ на Re: hash_array_extended() needs to pass down collation  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 2020-11-03 11:48, Michael Paquier wrote:
> 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.

committed



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] logical decoding of two-phase transactions
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Support for NSS as a libpq TLS backend