Re: Checking cursor's state in plpgsql - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Checking cursor's state in plpgsql
Date
Msg-id 200504100422.j3A4MsP27316@candle.pha.pa.us
Whole thread Raw
In response to Checking cursor's state in plpgsql  (Sibtay Abbas <sibtay@gmail.com>)
Responses Re: Checking cursor's state in plpgsql  (Sibtay Abbas <sibtay@gmail.com>)
List pgsql-general
Sibtay Abbas wrote:
> Hello all
>
> Can we check whether a cursor is OPEN or not in plpgsql.
> Like in oracle you can check a CURSOR'S state with <CURSOR_VAR>%ISOPEN
>
No, but we do have a TODO item:

        o Allow pooled connections to list all open WITH HOLD cursors

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Bob Henkel
Date:
Subject: Re: Table inheritance or LIKE table?
Next
From: Thomas F.O'Connell
Date:
Subject: Re: Lost in Foreign Key land