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: Sat, 13 Nov 2010 14:03:46 -0500
Message-ID: <8645.1289675026@sss.pgh.pa.us> (raw)
In-Reply-To: <201011131850.oADIonok007767@wwwmaster.postgresql.org>
References: <201011131850.oADIonok007767@wwwmaster.postgresql.org>

"Vince Maxey" <vamax27@yahoo.com> writes:
> Recently I upgraded a personal application built a number of years ago,
> including java, eclipse, struts and postgresql and now face an issue with
> postgresql in that application functions no longer work, specfically as
> related to refcursors.  The original application was based on postgresql 8.4
> I believe.
> ...
> But when I try to call the function: select test_proc(2); I get a column
> header: test_proc refcursor and the value in this column is simply: <unnamed
> portal n>, where n seems to indicate how many times I have run a cursor from
> the SQL window.

The example you give acts exactly as I would expect, ie, it returns the
generated name of a cursor.  And it does so in every release back to at
least 8.0, not just 9.0.  So I think you've simplified your example to
the point that it no longer demonstrates whatever problem you're
actually having.

			regards, tom lane



view thread (13+ messages)  latest in thread

Message-ID: <8645.1289675026@sss.pgh.pa.us>
Permalink:  ../8645.1289675026@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8645.1289675026@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: <8645.1289675026@sss.pgh.pa.us>
  References: <201011131850.oADIonok007767@wwwmaster.postgresql.org> <8645.1289675026@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