Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgadmin-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group