Re: 2D arrays in 7.3... actually, parser bug?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Eric B(dot)Ridge" <ebr(at)tcdi(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 2D arrays in 7.3... actually, parser bug?
Date: 2003-01-31 06:00:45
Message-ID: 6322.1043992845@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Eric B.Ridge" <ebr(at)tcdi(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Shridhar Daithankar<shridhar_daithankar@persistent.co.in> 2003-01-31 06:27:40 Re: One large v. many small
Previous Message Josh Berkus 2003-01-31 05:55:40 Re: One large v. many small