Re: about create type

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: about create type
Дата
Msg-id 19239.1062188651@sss.pgh.pa.us
обсуждение исходный текст
Ответ на about create type  (zhuangjifeng <zhuangjifeng@263.net>)
Список pgsql-bugs
zhuangjifeng <zhuangjifeng@263.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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: zhuangjifeng
Дата:
Сообщение: about create type
Следующее
От: Preston Landers
Дата:
Сообщение: activating RI constraints too slow