Re: Ticket #8: Colour coding for the backend lines in the server status window

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Ticket #8: Colour coding for the backend lines in the server status window
Date: 2009-09-16 08:22:28
Message-ID: 937d27e10909160122x5280e8a8y1e26d76138431faf@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Tue, Sep 15, 2009 at 10:18 PM, Guillaume Lelarge
<guillaume(at)lelarge(dot)info> wrote:
> Hi,
>
> Here is partial patch to have colored lines for backends. I followed Dave's
> proposition:
>
> Say green for running OK, orange for running, but with the query time being
> past a configurable limit, blue for idle, and red when waiting for a lock etc.

Looks pretty straightforward.

> The patch is not complete because of these:
>
>  * Shouldn't the colors be customizable? I can add a tab on frmOptions.

I think so.

>  * Where do I put the configuration of the time limit? on a toolbar of the
>   frmStatus window, or in the frmOptions dialog?

I think frmStatus. The time limits of interest may be different on
your DW server than your OLTP system, so it would make sense to allow
control on the window itself. I think a setting against the server is
probably going a little too far, but if you can find a nice interface
for it, I could be persuaded...

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Magnus Hagander 2009-09-16 08:31:58 Re: Ticket #8: Colour coding for the backend lines in the server status window
Previous Message Magnus Hagander 2009-09-16 07:53:26 Re: [pgadmin-support] Possible simple enhancement