pg.ddx.io pgsql-jdbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
To: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Returning just one resultset from function call with refcursor
Date: Mon, 20 Sep 2004 21:19:35 -0300
Message-ID: <414F7397.8060101@yahoo.com.br> (raw)
In-Reply-To: <414F6395.9090705@opencloud.com>
References: <414F60C2.7030506@yahoo.com.br>
<414F6395.9090705@opencloud.com>
Oliver Jowett wrote:
> Francisco Figueiredo Jr. wrote:
>
>> I'd like to omit the reffunc resultset return and get directly the col
>> resultset. Is this possible?
>
>
> See http://www.postgresql.org/docs/7.4/static/jdbc-callproc.html.
>
> -O
>
Hi Oliver, thanks for the tip.
But I'd like to know how internally you handle the two resultsets return
and returns only one to user. Do you make special handling of the return
type of the function? I mean, if you check that the function returns a
refcursor, you eat the first resultset and shows to user just the second?
If so, could you point me where I could find the metadata about the
function return type?
Thanks in advance.
Regards,
Francisco Figueiredo Jr.
view thread (3+ messages)
Message-ID: <414F7397.8060101@yahoo.com.br> Permalink: ../414F7397.8060101@yahoo.com.br/ Also on: postgresql.org/message-id/414F7397.8060101@yahoo.com.br ·
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 from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-jdbc@postgresql.org Cc: fxjrlists@yahoo.com.br Subject: Re: Returning just one resultset from function call with refcursor In-Reply-To: <414F7397.8060101@yahoo.com.br> References: <414F60C2.7030506@yahoo.com.br> <414F6395.9090705@opencloud.com> <414F7397.8060101@yahoo.com.br> * 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