Re: Ticket #6: Add a cursors list in the server status window

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Ticket #6: Add a cursors list in the server status window
Date: 2009-09-14 20:07:24
Message-ID: 9837222c0909141307o55df0166yfaba4204cde5daf@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Mon, Sep 14, 2009 at 22:02, Guillaume Lelarge <guillaume(at)lelarge(dot)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/

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message pgAdmin Trac 2009-09-14 20:20:22 Re: [pgAdmin III] #6: Add a cursors list in the server status window
Previous Message Guillaume Lelarge 2009-09-14 20:02:38 Ticket #6: Add a cursors list in the server status window