pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dario Bahena <darbahena@santander.com.mx>
To: pgsql-interfaces@postgresql.org
Subject: receiving user defined types from a function?
Date: Tue, 23 Mar 2004 17:53:37 -0600
Message-ID: <4060CE01.9080800@bsantander.com.mx> (raw)

hi ...

I've a postgresql function, that returns a user defined composite type, 
is it posible to catch it using the jdbc driver???, cause then I tried 
it and saw the class for the object, it gave me just the first member 
for my composite type.

Maybe I can return a refcursor which should be mapped to a ResultSet in 
java ... but my functions would look less natural, in fact, I've already 
changed them cause PostgreSQL doesn't support out parameters.

Thankx.

salu2
dario estepario ...





view thread (2+ messages)  latest in thread

Message-ID: <4060CE01.9080800@bsantander.com.mx>
Permalink:  ../4060CE01.9080800@bsantander.com.mx/
Also on:    postgresql.org/message-id/4060CE01.9080800@bsantander.com.mx

 · 

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-interfaces@postgresql.org
  Cc: darbahena@santander.com.mx
  Subject: Re: receiving user defined types from a function?
  In-Reply-To: <4060CE01.9080800@bsantander.com.mx>

* 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