Re: hash_array_extended() needs to pass down collation

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: hash_array_extended() needs to pass down collation
Дата
Msg-id 5e39bcc2-2d5d-e365-27cc-f2576c516aaf@iki.fi
обсуждение исходный текст
Ответ на hash_array_extended() needs to pass down collation  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
On 02/11/2020 09:40, Peter Eisentraut wrote:
> 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.

+1. Straightforward oversight in commit 5e1963fb764e.

- Heikki



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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Dereference before NULL check (src/backend/storage/ipc/latch.c)
Следующее
От: Pavel Stehule
Дата:
Сообщение: patch: reduce overhead of execution of CALL statement in no atomic mode from PL/pgSQL