Re: How to create a dynamic list?

From: Christopher Sawtell <csawtell(at)xtra(dot)co(dot)nz>
To: Renaud Tthonnart <thonnart(at)amwdb(dot)u-strasbg(dot)fr>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to create a dynamic list?
Date: 2001-02-24 07:34:48
Message-ID: 01022420344802.01805@berty
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, 24 Feb 2001 02:56, Renaud Tthonnart wrote:
> I 'd like create a type like a dynamic list.

chris=# \d+ xxx
Table "xxx"
Attribute | Type | Modifier | Description
-----------+-----------------------+----------+-------------
num | integer | not null |
nom | character varying(10) | |
nb | integer[] | |
Index: xxx_pkey

chris=# INSERT INTO xxx VALUES(1,'aaa','{10,20,30}');
INSERT 137225 1
chris=# select * from xxx;
num | nom | nb
-----+-----+------------
1 | aaa | {10,20,30}
(1 row)


--
Sincerely etc.,

NAME Christopher Sawtell
CELL PHONE 021 257 4451
ICQ UIN 45863470
EMAIL csawtell @ xtra . co . nz
CNOTES ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz

-->> Please refrain from using HTML or WORD attachments in e-mails to me
<<--

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Wayne Ward 2001-02-24 07:36:32 Still having some install problems.
Previous Message PHPBeginner.com 2001-02-24 06:16:03 RE: [PHP] International support