Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group