Re: array functions - request for opinions (was Re: [PATCHES]

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: array functions - request for opinions (was Re: [PATCHES]
Дата
Msg-id 3ED2DA0E.3050206@joeconway.com
обсуждение исходный текст
Ответ на Re: array functions - request for opinions (was Re: [PATCHES] array  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Joe Conway <mail@joeconway.com> writes:
>>regression=# select array[];
>>ERROR:  parser: parse error at or near "]" at character 14
> 
> Only if you can specify what type it has.  This seems to get back
> to our off-list discussion about what to do with array of unknown.
> 

Yeah, without an unknown[] data type, I think a special case hack would 
be needed even for the array[]::int4[] example, because the coercion to 
int4[] happens too late.

I guess '{}'::arraytype[] will have to do for now.

Joe




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: array functions - request for opinions (was Re: [PATCHES] array
Следующее
От: Joe Conway
Дата:
Сообщение: SIGSEGV on cvs tip/7.3.2