pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
To: Kris Jurka <books@ejurka.com>
Cc: Brian G. Huber <brianghuber@yahoo.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Cursor returned from procedure ignores setFetchSize() on
Date: 08 Jun 2004 21:12:55 +0100
Message-ID: <878yex7qrc.fsf@tapsellferrier.co.uk> (raw)
In-Reply-To: <Pine.BSO.4.56.0406081039580.28474@leary.csoft.net>
References: <002301c44d6b$82b1b420$6400a8c0@bghthinkpad>
	<Pine.BSO.4.56.0406081039580.28474@leary.csoft.net>

Kris Jurka <books@ejurka.com> writes:

> I was under the impression that refcursor returning functions would fade 
> with the advent of easier set returning functions.  Have you considered 
> using them instead?  The advantage of returning refcursor seems to me that 
> you don't need to create a pseudo type for the return value, or deal with 
> specifying record types in the query.  Are there other advantages I'm 
> missing?

Portability. Efficiency.


Nic




view thread (3+ messages)

Message-ID: <878yex7qrc.fsf@tapsellferrier.co.uk>
Permalink:  ../878yex7qrc.fsf@tapsellferrier.co.uk/
Also on:    postgresql.org/message-id/878yex7qrc.fsf@tapsellferrier.co.uk

 · 

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: nferrier@tapsellferrier.co.uk, books@ejurka.com, brianghuber@yahoo.com
  Subject: Re: Cursor returned from procedure ignores setFetchSize() on
  In-Reply-To: <878yex7qrc.fsf@tapsellferrier.co.uk>
  References: <002301c44d6b$82b1b420$6400a8c0@bghthinkpad> <Pine.BSO.4.56.0406081039580.28474@leary.csoft.net> <878yex7qrc.fsf@tapsellferrier.co.uk>

* 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