pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: vince maxey <vamax27@yahoo.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5753: Existing Functions No Longer Work
Date: Tue, 16 Nov 2010 12:31:28 -0500
Message-ID: <1387.1289928688@sss.pgh.pa.us> (raw)
In-Reply-To: <237745.519.qm@web57613.mail.re1.yahoo.com>
References: <201011131850.oADIonok007767@wwwmaster.postgresql.org>
	<8645.1289675026@sss.pgh.pa.us>
	<212447.11179.qm@web57612.mail.re1.yahoo.com>
	<237745.519.qm@web57613.mail.re1.yahoo.com>

vince maxey <vamax27@yahoo.com> writes:
> My functions all worked prior to switching to 9.0 and I can excute functions 
> from the pgAdminIII UI which return an individual result, such as an integer, 
> but cannot test/troubleshoot those which use refcursors in the same manner; and 
> they are not working within my application.  They used to work.

That's basically impossible to believe, because the behavior on this
point didn't change.  There are certainly some incompatibilities between
9.0 and previous releases, but nothing about refcursor-returning
functions specifically; and AFAICT the example functions you provided
work just the same in 9.0 as before.  So I think you're barking up the
wrong tree and the issue is something else than you think.

Perhaps you could put together a complete test case (not just the
function, but including its call) that works in 8.4 and not in 9.0?

BTW, if the gripe is specifically about what happens in the pgAdmin UI,
another possible explanation is that pgAdmin changed.  Can you reproduce
a change of behavior using just psql?

			regards, tom lane



view thread (13+ messages)  latest in thread

Message-ID: <1387.1289928688@sss.pgh.pa.us>
Permalink:  ../1387.1289928688@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1387.1289928688@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, vamax27@yahoo.com
  Subject: Re: BUG #5753: Existing Functions No Longer Work
  In-Reply-To: <1387.1289928688@sss.pgh.pa.us>
  References: <201011131850.oADIonok007767@wwwmaster.postgresql.org> <8645.1289675026@sss.pgh.pa.us> <212447.11179.qm@web57612.mail.re1.yahoo.com> <237745.519.qm@web57613.mail.re1.yahoo.com> <1387.1289928688@sss.pgh.pa.us>

* 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