David Cruz <davidcrmail(at)yahoo(dot)com> writes:
> 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
I'd bet not. That example works fine in 7.4 for me. The
syntax error is exactly what I get in 7.2 though...
regards, tom lane