Use composite type for column data type - Mailing list pgsql-general

From Sophie Yang
Subject Use composite type for column data type
Date
Msg-id 20040528204446.40752.qmail@web50901.mail.yahoo.com
Whole thread Raw
Responses Re: Use composite type for column data type  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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/

pgsql-general by date:

Previous
From: Mark Harrison
Date:
Subject: postgresql anonymous cvs?
Next
From: "Cyril VELTER"
Date:
Subject: Dump 7.1.3->7.4.2