From: Hannes Korte <email@hkorte.com>
To: pgsql-sql@postgresql.org
Subject: use of a composite type in CREATE TABLE?
Date: Thu, 17 Jun 2004 13:01:08 +0200
Message-ID: <40D179F4.3090901@hkorte.com> (raw)
Hi,
does anyone know how it is posible to set a composite type as the data
type of a column when creating a new table?
CREATE TABLE tbl1 (
name VARCHAR(60) NOT NULL,
address comp_type_address
);
The exmaple above does not work.
Any help is appreciated.
--
Regards,
Hannes
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: email@hkorte.com
Subject: Re: use of a composite type in CREATE TABLE?
In-Reply-To: <40D179F4.3090901@hkorte.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