| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | zhuangjifeng <zhuangjifeng(at)263(dot)net> |
| Cc: | pgsql-bugs <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | Re: about create type |
| Date: | 2003-08-29 20:24:11 |
| Message-ID: | 19239.1062188651@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
zhuangjifeng <zhuangjifeng(at)263(dot)net> writes:
> I have tried to create a new Type in postgreSQL-7.2. The
> example is defined in Chapter 39 of extended type. We do follow your
> defination of "Complex" completely.But there is always an error:
> CREATE TYPE
> complex(INPUT=complex_in,OUTPUT=complex_out(Complex),INTERNALLENGTH=16);
> ERROR: parser:parse error at or near '(' ".
You should not put parameters with the input/output function names.
(I'm pretty sure that none of our documentation suggests you should.)
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Preston Landers | 2003-08-29 21:08:40 | activating RI constraints too slow |
| Previous Message | Karthik K S | 2003-08-29 08:29:51 | True64 Unix v5.1 - postgresql-7.2.4 compilation problem |