agora inbox for pgus-general@postgresql.org  
help / color / mirror / Atom feed
From: Sajeev Mayandi <Sajeev_Mayandi@symantec.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: DECLARING THE CURSOR WITH HOLD
Date: Wed, 22 May 2013 10:14:44 -0700
Message-ID: <CDC24C66.41DD9%sajeev_mayandi@symantec.com> (raw)
In-Reply-To: <CDC1527B.41A53%sajeev_mayandi@symantec.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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 and postgresql version is 9.2.

Thanks,

Sajeev

view thread (6+ messages)  latest in thread

Message-ID: <CDC24C66.41DD9%sajeev_mayandi@symantec.com>
Permalink:  ../CDC24C66.41DD9%25sajeev_mayandi@symantec.com/
Also on:    postgresql.org/message-id/CDC24C66.41DD9%sajeev_mayandi@symantec.com

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 using the --to and --cc options:
  reply via email

  To: pgus-general@postgresql.org
  Cc: Sajeev_Mayandi@symantec.com, pgsql-general@postgresql.org
  Subject: Re: DECLARING THE CURSOR WITH HOLD
  In-Reply-To: <CDC24C66.41DD9%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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox