ECPG and User-defined Types.

From: Andre Yoshiaki Kashiwabara <yoshiaki(at)linux(dot)ime(dot)usp(dot)br>
To: pgsql-sql(at)postgresql(dot)org
Subject: ECPG and User-defined Types.
Date: 2003-12-01 04:09:36
Message-ID: 20031201040936.GA27928@epicurus
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,

How can i use a user-defined type in ECPG code ?

For example:

I have the following stored-procedure:
CREATE FUNCTION teste(MY_TYPE) RETURNS boolean;

where MY_TYPE is:
CREATE TYPE MY_TYPE AS (id_person INT8, id_book INT8);

Now, i am having problem with:

EXEC SQL SELECT teste(:asd);

--
Andre <yoshiaki(at)linux(dot)ime(dot)usp(dot)br>

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Sydney-Smith 2003-12-01 04:41:52 Ooops ! :( Recovery techniques
Previous Message Iain 2003-12-01 03:08:56 Re: Bug: Sequence generator insert