Re: Ticket #6: Add a cursors list in the server status window - Mailing list pgadmin-hackers

From Magnus Hagander
Subject Re: Ticket #6: Add a cursors list in the server status window
Date
Msg-id 9837222c0909141307o55df0166yfaba4204cde5daf@mail.gmail.com
Whole thread Raw
In response to Ticket #6: Add a cursors list in the server status window  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: Ticket #6: Add a cursors list in the server status window  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgadmin-hackers
On Mon, Sep 14, 2009 at 22:02, Guillaume Lelarge <guillaume@lelarge.info> wrote:
> Hi,
>
> I was working on this tonight. It aims to display the contents of the
> pg_cursors view. Halfway through it, it occurs to me that this is not a great
> thing to do.
>
> AFAICT, the contents of this view only depends on your session. But the status
> window has its own session, so it won't be able to display anything but its
> own cursors (which really means nothing as it doesn't use cursors).
>
> Am I wrong?

Nope, you're right. Actually, by default, they go away at the end of a
transaction even, so that's even worse.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Ticket #6: Add a cursors list in the server status window
Next
From: "pgAdmin Trac"
Date:
Subject: Re: [pgAdmin III] #6: Add a cursors list in the server status window