Possible mistake in new array syntax

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Possible mistake in new array syntax
Дата
Msg-id Pine.LNX.4.44.0306271802160.5890-100000@peter.localdomain
обсуждение исходный текст
Ответы Re: Possible mistake in new array syntax  (Joe Conway <mail@joeconway.com>)
Re: Possible mistake in new array syntax  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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['','']]);

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Missing array support
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: CREATE TABLE AS ... EXECUTE