pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andre Yoshiaki Kashiwabara <yoshiaki@linux.ime.usp.br>
To: pgsql-sql@postgresql.org
Subject: ECPG and User-defined Types.
Date: Mon, 1 Dec 2003 02:09:36 -0200
Message-ID: <20031201040936.GA27928@epicurus> (raw)

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@linux.ime.usp.br>






Message-ID: <20031201040936.GA27928@epicurus>
Permalink:  ../20031201040936.GA27928@epicurus/
Also on:    postgresql.org/message-id/20031201040936.GA27928@epicurus

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: yoshiaki@linux.ime.usp.br
  Subject: Re: ECPG and User-defined Types.
  In-Reply-To: <20031201040936.GA27928@epicurus>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox