From: Sajeev Mayandi <Sajeev_Mayandi@symantec.com>
To: pgus-general@postgresql.org <pgus-general@postgresql.org>
Subject: DECLARING THE CURSOR WITH HOLD
Date: Tue, 21 May 2013 16:27:30 -0700
Message-ID: <CDC1527B.41A53%sajeev_mayandi@symantec.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgus-general>
Hi,
I am trying to declare a cursor with hold along with NO SCROLL option. I am getting syntax error. Just wondering if CURSOR WITH HOLD option supported. My code snip is.
DECLARE noncontainer NO SCROLL CURSOR WITH HOLD FOR SELECT * from phostmapping;
NOTE: The code is in plpgsql.
Thanks,
Sajeev
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: pgus-general@postgresql.org
Cc: Sajeev_Mayandi@symantec.com
Subject: Re: DECLARING THE CURSOR WITH HOLD
In-Reply-To: <CDC1527B.41A53%sajeev_mayandi@symantec.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