create type question again

Поиск
Список
Период
Сортировка
От John Hyland
Тема create type question again
Дата
Msg-id 19991116125321.N31253@e-connectsolutions.com
обсуждение исходный текст
Список pgsql-general
Hi, I posted yesterday about a problem I was having creating multiple 'text'
types by different names.  I was getting an error that array_in(opaque) was not
defined.  I think I found an answer for my problem, though, and I thought I'd
share it.

It seems that if I

CREATE TYPE array_in(opaque) RETURNS text
    AS '/usr/local/src/postgres-6.5.2/src/include/postgres.h'
    LANGUAGE 'c';

as user 'postgres' and then create my types with textin as the input function and
textout as the output function, everything seems to work the way I want it to.

--
John Hyland
SysAdmin, Programmer
e-Connect Solutions

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

Предыдущее
От: Jeff Hoffmann
Дата:
Сообщение: Re: [GENERAL] Re: replication
Следующее
От: Brandon Ibach
Дата:
Сообщение: CREATE OPERATOR error