From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Jerome Chochon" <jerome(dot)chochon(at)ensma(dot)fr> |
Cc: | pgsql-hackers(at)postgresql(dot)org, pgsql-announce(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
Subject: | Re: [HACKERS] PostgreSQL 7.3: help on new CREATE TYPE |
Date: | 2002-09-17 14:22:51 |
Message-ID: | 23647.1032272571@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
"Jerome Chochon" <jerome(dot)chochon(at)ensma(dot)fr> writes:
> Can I use this new type like other user-type ?
> CREATE TABLE person (his_name VARCHAR, his_adress adress);
> ...where adress is CREATE TYPE adress AS (number int, street text, country
> VARCHAR);
Not at the moment, though that might be an interesting direction to
pursue in future releases. At present, the only thing such a type is
useful for is to define the argument or result type of a function that
takes or returns records.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Wim | 2002-09-17 14:25:45 | Re: Still big problems with pg_dump! |
Previous Message | Andrew Sullivan | 2002-09-17 14:13:05 | Re: [GENERAL] Still big problems with pg_dump! |
From | Date | Subject | |
---|---|---|---|
Next Message | Wim | 2002-09-17 14:25:45 | Re: Still big problems with pg_dump! |
Previous Message | Andrew Sullivan | 2002-09-17 14:13:05 | Re: [GENERAL] Still big problems with pg_dump! |