| From: | zhuangjifeng <zhuangjifeng(at)263(dot)net> |
|---|---|
| To: | pgsql-bugs <pgsql-bugs(at)PostgreSQL(dot)org> |
| Subject: | about create type |
| Date: | 2003-08-29 03:21:36 |
| Message-ID: | 3F4EC6C0.7080007@263.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Dear Sir:
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:
I entered :
CREATE TYPE
complex(INPUT=complex_in,OUTPUT=complex_out(Complex),INTERNALLENGTH=16);
but it shows
ERROR: parser:parse error at or near '(' ".
Could you please give me a comprehensible explanation. I
expect to hear from you!
Thank you very much!
PS: our source code is in attachment
| Attachment | Content-Type | Size |
|---|---|---|
| complex.c~ | text/plain | 558 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Karthik K S | 2003-08-29 08:29:51 | True64 Unix v5.1 - postgresql-7.2.4 compilation problem |
| Previous Message | Preston Landers | 2003-08-28 19:31:44 | bug report: pg_dump does not use CASCADE in DROP |