pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: William Anthony Lim <wei.liang@eudoramail.com>
To: pgsql-sql@postgresql.org
Subject: function returning resultset
Date: Fri, 12 Mar 2004 18:47:37 -0800
Message-ID: <CCOBCKJLAFAKKIAA@whowhere.com> (raw)


Hi,

I'm using PGSQL 7.4.1 and JDBC 75dev client.

I want to ask about PL/PGSQL function returning resultset.
I read in the docs, there are 'setof' and 'refcursor' method,
is there another method to returning resultset?
What advantages and disadvantages for each method?
Which is the best?

Plz explain to me. Thx.


W.A.


Need a new email address that people can remember
Check out the new EudoraMail at
http://www.eudoramail.com



Message-ID: <CCOBCKJLAFAKKIAA@whowhere.com>
Permalink:  ../CCOBCKJLAFAKKIAA@whowhere.com/
Also on:    postgresql.org/message-id/CCOBCKJLAFAKKIAA@whowhere.com

 · 

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: wei.liang@eudoramail.com
  Subject: Re: function returning resultset
  In-Reply-To: <CCOBCKJLAFAKKIAA@whowhere.com>

* 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