Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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.


dario estepario ...


pgsql-interfaces by date

Next:From: Peter EisentrautDate: 2004-03-26 10:16:14
Subject: Re: Portable interfaces ...
Previous:From: C. MajDate: 2004-03-23 19:21:30
Subject: Re:

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group