From: Tom Lane <tgl@sss.pgh.pa.us>
To: Abraham, Danny <danny_abraham@bmc.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Reuse of REF Cursor
Date: Sun, 11 Apr 2021 11:23:51 -0400
Message-ID: <2671626.1618154631@sss.pgh.pa.us> (raw)
In-Reply-To: <PH0PR02MB74461F234A7AD20FA8FB70588E719@PH0PR02MB7446.namprd02.prod.outlook.com>
References: <PH0PR02MB74461F234A7AD20FA8FB70588E719@PH0PR02MB7446.namprd02.prod.outlook.com>
"Abraham, Danny" <danny_abraham@bmc.com> writes:
> Has anybody faced a problem with reusing a ref cursor?
Your fragment looks like it ought to work, but it's hard to say
where the problem is without seeing a complete example.
> PG Version 9.5.5 on Linux.
9.5.x is EOL, and the last release in that series was 9.5.25,
so you *really* oughta think about an update.
regards, tom lane
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, danny_abraham@bmc.com
Subject: Re: Reuse of REF Cursor
In-Reply-To: <2671626.1618154631@sss.pgh.pa.us>
References: <PH0PR02MB74461F234A7AD20FA8FB70588E719@PH0PR02MB7446.namprd02.prod.outlook.com> <2671626.1618154631@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