pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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



view thread (3+ messages)  latest in thread

Message-ID: <40D179F4.3090901@hkorte.com>
Permalink:  ../40D179F4.3090901@hkorte.com/
Also on:    postgresql.org/message-id/40D179F4.3090901@hkorte.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: 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