Re: Problems with array

From: "Chad R(dot) Larson" <clarson(at)eldocomp(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, sonia sanchez diaz <geek24(at)avantel(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Problems with array
Date: 2002-08-23 18:08:16
Message-ID: 4.2.2.20020823110706.00abc600@ecint.ecinet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

At 09:52 AM 8/23/02 , Tom Lane wrote:
>Yup, an array column is just an array column, there isn't any enforcement
>of a specific number of dimensions. Putting extra []'s in the declaration
>is just syntactic sugar.

Just the same as in the C language. Multi-dimensional arrays are just
special case pointer arithmetic on a single string of bytes.

-crl
--
Chad R. Larson (CRL22) chad(at)eldocomp(dot)com
Eldorado Computing, Inc. 602-604-3100
5353 North 16th Street, Suite 400
Phoenix, Arizona 85016-3228

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Kevin Brannen 2002-08-23 18:15:03 Re: PG 7.2 on Linux: where's the space?
Previous Message Chad R. Larson 2002-08-23 18:03:36 Re: 64 Bit build for Sparc