Re: 2D arrays in 7.3... actually, parser bug? - Mailing list pgsql-general

From Tom Lane
Subject Re: 2D arrays in 7.3... actually, parser bug?
Date
Msg-id 6322.1043992845@sss.pgh.pa.us
Whole thread Raw
In response to 2D arrays in 7.3... actually, parser bug?  (Eric B.Ridge <ebr@tcdi.com>)
List pgsql-general
"Eric B.Ridge" <ebr@tcdi.com> writes:
> So now my question is, since postgres doesn't support 2D (or N-D)
> arrays, shouldn't the above produce some kind of syntax error?

Postgres' view of arrays is inherited from APL, I think: all arrays
of the same element type are the same datatype regardless of
dimensionality.  We do have N-dimensional arrays, for N up to whatever
the arbitrary MAXDIM constant is.  See the examples in the User's Guide.

            regards, tom lane

pgsql-general by date:

Previous
From: Eric B.Ridge
Date:
Subject: 2D arrays in 7.3... actually, parser bug?
Next
From: "Shridhar Daithankar"
Date:
Subject: Re: Documentation needs significant improvement