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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-novice by date

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