create type question again

Поиск
Список
Период
Сортировка
Искать

create type question again

От:
John Hyland <john@e-connectsolutions.com>
Дата:
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
FAQ