Re: [HACKERS] Possible mistake in new array syntax

2003-06-27 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > The documentation says the following is allowed: > INSERT INTO sal_emp > VALUES ('Bill', > ARRAY[1, 1, 1, 1], > ARRAY[['meeting', 'lunch'], ['','']]); > I cannot find justification for this in the standard. According to my

Re: [HACKERS] Possible mistake in new array syntax

2003-06-27 Thread Joe Conway
Peter Eisentraut wrote: The documentation says the following is allowed: INSERT INTO sal_emp VALUES ('Bill', ARRAY[1, 1, 1, 1], ARRAY[['meeting', 'lunch'], ['','']]); I cannot find justification for this in the standard. According to my reading, it should be INSERT INT

[HACKERS] Possible mistake in new array syntax

2003-06-27 Thread Peter Eisentraut
The documentation says the following is allowed: INSERT INTO sal_emp VALUES ('Bill', ARRAY[1, 1, 1, 1], ARRAY[['meeting', 'lunch'], ['','']]); I cannot find justification for this in the standard. According to my reading, it should be INSERT INTO sal_emp VALUES (