create type question again - Mailing list pgsql-general

From John Hyland
Subject create type question again
Date
Msg-id 19991116125321.N31253@e-connectsolutions.com
Whole thread Raw
List 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 by date:

Previous
From: Jeff Hoffmann
Date:
Subject: Re: [GENERAL] Re: replication
Next
From: Brandon Ibach
Date:
Subject: CREATE OPERATOR error