agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Dave Scott <mcsmidcs@vaxd.dct.ac.uk>
To: POSTGRES@postgres.Berkeley.EDU
Subject: arrays of arrays
Date: Tue, 29 Mar 1994 16:27:24 GMT
Message-ID: <0097C2A8.F7F609A0.12809@vaxd.dct.ac.uk> (raw)

 Dear Postgresers,
		  I seem to remember seeing this query before but have lost the relevant mail file.

I'm attempting to create an application which is best modelled using arrays of
arrays. I proceeded along the same lines as the example on p20 of the reference
manual but when I attempt a query similar to:

	retrieve (stuff.a[2][2])\g

I receive:	syntax error at or near "["

I'm now attempting to create an array type from scratch and would be grateful
for a brief explanation of how the "interesting stuff" is loaded into arrayp[0]
.....arrayp[array_size] (example p21)

Any help, pointers would be greatly appreciated,

Thanks in advance,

Dave.



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 using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: mcsmidcs@vaxd.dct.ac.uk
  Subject: Re: arrays of arrays
  In-Reply-To: <0097C2A8.F7F609A0.12809@vaxd.dct.ac.uk>

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

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