pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chad R. Larson <clarson@eldocomp.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: sonia sanchez diaz <geek24@avantel.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problems with array
Date: Fri, 23 Aug 2002 11:08:16 -0700
Message-ID: <4.2.2.20020823110706.00abc600@ecint.ecinet.com> (raw)
In-Reply-To: <8490.1030121539@sss.pgh.pa.us>
References: <d46c6d2af0.d2af0d46c6@avantel.net.mx>
	<d46c6d2af0.d2af0d46c6@avantel.net.mx>

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@eldocomp.com
   Eldorado Computing, Inc.   602-604-3100
      5353 North 16th Street, Suite 400
        Phoenix, Arizona   85016-3228




view thread (3+ messages)

Message-ID: <4.2.2.20020823110706.00abc600@ecint.ecinet.com>
Permalink:  ../4.2.2.20020823110706.00abc600@ecint.ecinet.com/
Also on:    postgresql.org/message-id/4.2.2.20020823110706.00abc600@ecint.ecinet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: clarson@eldocomp.com, tgl@sss.pgh.pa.us, geek24@avantel.net
  Subject: Re: Problems with array
  In-Reply-To: <4.2.2.20020823110706.00abc600@ecint.ecinet.com>
  References: <d46c6d2af0.d2af0d46c6@avantel.net.mx> <4.2.2.20020823110706.00abc600@ecint.ecinet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox