Re: Shouldn't construct_array_builtin and deconstruct_array_builtin agree on types?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Shouldn't construct_array_builtin and deconstruct_array_builtin agree on types?
Дата
Msg-id 3020223d-6cdc-8e15-56e6-bc8cfc6c2d81@enterprisedb.com
обсуждение исходный текст
Ответ на Shouldn't construct_array_builtin and deconstruct_array_builtin agree on types?  (Tomas Vondra <tomas.vondra@enterprisedb.com>)
Ответы Re: Shouldn't construct_array_builtin and deconstruct_array_builtin agree on types?  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 12.06.23 22:38, Tomas Vondra wrote:
> I noticed that these two function, introduced in d746021de18b, disagree
> on what types they support.

> I ran into this for INT4OID. Sure, I can just lookup the stuff and use
> the regualr deconstruct_array, but the asymmetry seems a bit strange. Is
> that intentional?

They only support the types that they were actually being used with.  If 
you need another type, feel free to add it.




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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Order changes in PG16 since ICU introduction
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Let's make PostgreSQL multi-threaded