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

Hi!, help with this new type

From: David Cruz <davidcrmail(at)yahoo(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Hi!, help with this new type
Date: 2004-06-01 05:20:14
Message-ID: 20040601052014.81979.qmail@web50105.mail.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-novice
Hello to everyone!

I'm trying to make a new data type in this way: (like
the docs says)

pruebas1=> create type newtype as (number integer, str
char(20));
ERROR:  parser: parse error at or near "as"


And I get that error, could somebody help me?...I'm
using  PostgreSQL 7.4

thanks..

David Cruz


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

In response to

Responses

pgsql-novice by date

Next:From: Tom LaneDate: 2004-06-01 06:14:07
Subject: Re: Hi!, help with this new type
Previous:From: Ilya S. SlyzhnyakDate: 2004-06-01 03:58:17
Subject: wikipedia article

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