receiving user defined types from a function?

From: Dario Bahena <darbahena(at)santander(dot)com(dot)mx>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: receiving user defined types from a function?
Date: 2004-03-23 23:53:37
Message-ID: 4060CE01.9080800@bsantander.com.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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 ...

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Eisentraut 2004-03-26 10:16:14 Re: Portable interfaces ...
Previous Message C. Maj 2004-03-23 19:21:30 Re: libpgtcl.so?