Possible mistake in new array syntax - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Possible mistake in new array syntax
Date
Msg-id Pine.LNX.4.44.0306271802160.5890-100000@peter.localdomain
Whole thread Raw
Responses 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>)
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Missing array support
Next
From: Peter Eisentraut
Date:
Subject: Re: CREATE TABLE AS ... EXECUTE