Re: Opaque not working as documented

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Opaque not working as documented
Дата
Msg-id 28653.1024692872@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Opaque not working as documented  (Steven Blundy <sblundy@CLEMSON.EDU>)
Список pgsql-novice
Steven Blundy <sblundy@CLEMSON.EDU> writes:
> Changing opaque to text results in the CREATE FUNCTION statements
> working, while the CREATE TYPE statements throw a fit.

Yup.  You cannot use SQL functions to write I/O operations for a new
datatype, because the I/O converters run at a lower logical level than
SQL.  The only way to code them is in C.

            regards, tom lane

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

Предыдущее
От: Tien Tran Ngoc
Дата:
Сообщение: ISAM access in PostgreSQL?
Следующее
От: Eric Naujock
Дата:
Сообщение: Reliable and scrptable backup to Postgresql databases.