Re: Ticket #8: Colour coding for the backend lines in the server status window - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Ticket #8: Colour coding for the backend lines in the server status window
Date
Msg-id 937d27e10909160122x5280e8a8y1e26d76138431faf@mail.gmail.com
Whole thread Raw
In response to Ticket #8: Colour coding for the backend lines in the server status window  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: Ticket #8: Colour coding for the backend lines in the server status window  (Magnus Hagander <magnus@hagander.net>)
List pgadmin-hackers
On Tue, Sep 15, 2009 at 10:18 PM, Guillaume Lelarge
<guillaume@lelarge.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

pgadmin-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: [pgadmin-support] Possible simple enhancement
Next
From: Magnus Hagander
Date:
Subject: Re: Ticket #8: Colour coding for the backend lines in the server status window