pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Dongsoo Yoon <dsyoon@metasoftworks.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Is there a type like a growable array, similar Vector at
Date: Sat, 23 Jul 2005 10:46:50 +0100
Message-ID: <42E2120A.6080003@archonet.com> (raw)
In-Reply-To: <000a01c58e86$d63cae30$6a0aa8c0@notebook04>
References: <000a01c58e86$d63cae30$6a0aa8c0@notebook04>

Dongsoo Yoon wrote:
> In Oracle, there is a type like a growable array, similar Vector at
> Java language.


I always find the manuals good for this information. Looking in the
section on "Arrays", in "Data Types"

BEGIN QUOTE
A stored array value can be enlarged by assigning to an element adjacent
to those already present, or by assigning to a slice that is adjacent to
or overlaps the data already present. For example, if array myarray
currently has 4 elements, it will have five elements after an update
that assigns to myarray[5]. Currently, enlargement in this fashion is
only allowed for one-dimensional arrays, not multidimensional arrays.
END QUOTE

Is that helpful?
-- 
  Richard Huxton
  Archonet Ltd



view thread (2+ messages)

Message-ID: <42E2120A.6080003@archonet.com>
Permalink:  ../42E2120A.6080003@archonet.com/
Also on:    postgresql.org/message-id/42E2120A.6080003@archonet.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dev@archonet.com, dsyoon@metasoftworks.com
  Subject: Re: Is there a type like a growable array, similar Vector at
  In-Reply-To: <42E2120A.6080003@archonet.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