Re: Proposal: new function array_init

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Proposal: new function array_init
Дата
Msg-id 162867790806041334l1a7ec350rd1e70f9e4349ff5a@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Proposal: new function array_init  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Proposal: new function array_init
Список pgsql-hackers
2008/6/4 Tom Lane <tgl@sss.pgh.pa.us>:
> "Pavel Stehule" <pavel.stehule@gmail.com> writes:
>> 2008/6/4 Tom Lane <tgl@sss.pgh.pa.us>:
>>> Huh?  That's completely nonsensical ... where will you determine the
>>> type of the array, if you don't have a sample element?
>
>> it is nonsens in current postgres. But null array is castable to anyarray no?
>
> If you mean an array of nulls, it still has to have an element type.

I know it -  but there was discus about untyped array for empty arrays
like ARRAY[]it is little bit similar
>
>                        regards, tom lane
>


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Change lock requirements for adding a trigger
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Proposal: new function array_init