Hi!, help with this new type - Mailing list pgsql-novice

From David Cruz
Subject Hi!, help with this new type
Date
Msg-id 20040601052014.81979.qmail@web50105.mail.yahoo.com
Whole thread Raw
In response to Re: Dynamic Array into pl/pgSQL function  ("derrick" <derrick@grifflink.com>)
Responses Re: Hi!, help with this new type
List 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/

pgsql-novice by date:

Previous
From: Joe Conway
Date:
Subject: Re: Dynamic Array into pl/pgSQL function
Next
From: Tom Lane
Date:
Subject: Re: Hi!, help with this new type