Use composite type for column data type

From: Sophie Yang <yangsophie(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Use composite type for column data type
Date: 2004-05-28 20:44:46
Message-ID: 20040528204446.40752.qmail@web50901.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is it possible to use a user-defined composite type as
the data type of a column? for example,
create table tbl (
a integer,
b type1
);

type1 is a composite type defined separately using
CREATE TYPE clause.

Thanks!



__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Cohen 2004-05-28 20:54:36 turn WAL off.
Previous Message jarednevans 2004-05-28 20:06:37 Re: Problem with public schema