From: | Scott Mead <scottm(at)openscg(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, "Andrew Dunstan *EXTERN*" <andrew(at)dunslane(dot)net>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: IDLE in transaction introspection |
Date: | 2011-11-15 14:44:06 |
Message-ID: | CAKq0gvLatKsi-N_n9+X_NPwcnPyNSX1a7t548uuOc5apDay7xg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Nov 10, 2011 at 2:49 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > Well, we could use an optional "details" string for that. If not, we
> > are still using the magic-string approach, which I thought we didn't
> > like.
>
> No, we're not using magic strings, we're using an enum --- maybe not an
> officially declared enum type, but it's a column with a predetermined
> set of possible values. It would be a magic string if it were still in
> the "query" field and thus confusable with user-written queries.
>
Fell off the map last week, here's v2 that:
* RUNNING => active
* all states from CAPS to lower case
--
Scott Mead
OpenSCG http://www.openscg.com
>
> regards, tom lane
>
Attachment | Content-Type | Size |
---|---|---|
pg_stat_activity_state_query.v2.patch | application/octet-stream | 21.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-11-15 14:59:17 | Re: ToDo: pg_backup - using a conditional DROP |
Previous Message | Albe Laurenz | 2011-11-15 14:39:18 | Re: Disable OpenSSL compression |