Re: Checking cursor's state in plpgsql

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Sibtay Abbas <sibtay(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Checking cursor's state in plpgsql
Date: 2005-04-10 04:22:54
Message-ID: 200504100422.j3A4MsP27316@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas F.O'Connell 2005-04-10 07:27:05 Re: Lost in Foreign Key land
Previous Message Bob Henkel 2005-04-10 04:18:21 Re: Table inheritance or LIKE table?