From: | Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> |
---|---|
To: | Sajeev Mayandi <Sajeev_Mayandi(at)symantec(dot)com> |
Cc: | "pgus-general(at)postgresql(dot)org" <pgus-general(at)postgresql(dot)org> |
Subject: | Re: DECLARING THE CURSOR WITH HOLD |
Date: | 2013-05-22 00:57:03 |
Message-ID: | 519C17DF.1050709@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgus-general |
On 05/21/2013 04:27 PM, Sajeev Mayandi wrote:
> 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.
Two things.
1) The correct list for questions like this is:
pgsql-general
You can subscribe here:
http://www.postgresql.org/community/lists/subscribe/
2) When you resubmit this post the following information would be helpful:
Postgres version
The actual error message
The DECLARE statement in context, in other words show as much of the
plpgsql code as possible.
>
> Thanks,
>
> Sajeev
--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Onorato | 2013-05-22 01:24:58 | Re: Table Partitioning |
Previous Message | Dann Corbit | 2013-05-22 00:21:54 | Re: [GENERAL] ODBC constructs |
From | Date | Subject | |
---|---|---|---|
Next Message | Sajeev Mayandi | 2013-05-22 17:14:44 | DECLARING THE CURSOR WITH HOLD |
Previous Message | Sajeev Mayandi | 2013-05-21 23:27:30 | DECLARING THE CURSOR WITH HOLD |