Re: Possible mistake in new array syntax

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Possible mistake in new array syntax
Дата
Msg-id 14345.1056759515@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Possible mistake in new array syntax  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> The documentation says the following is allowed:
> INSERT INTO sal_emp
>     VALUES ('Bill',
>     ARRAY[10000, 10000, 10000, 10000],
>     ARRAY[['meeting', 'lunch'], ['','']]);

> I cannot find justification for this in the standard.  According to my
> reading, it should be

> INSERT INTO sal_emp
>     VALUES ('Bill',
>     ARRAY[10000, 10000, 10000, 10000],
>     ARRAY[ARRAY['meeting', 'lunch'], ARRAY['','']]);

If it's an extension, it seems like a pretty reasonable one ...
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Assembler error
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Manual fixing of plpgsql_call_handler binary location -- good idea?