Re: IDLE in transaction introspection - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: IDLE in transaction introspection
Date
Msg-id CABUevEyCJJXdUs-Q2rDVxkC+0pn3xkh4WicgPz+zkF__sbax+g@mail.gmail.com
Whole thread Raw
In response to Re: IDLE in transaction introspection  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On Fri, Nov 4, 2011 at 03:27, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Thu, Nov 3, 2011 at 3:18 AM, Scott Mead <scottm@openscg.com> wrote:
>> ISTM that we're all for:
>>    creating a new column: state
>>    renaming current_query => query
>>    State will display <RUNNING>, <IDLE>, <IDLE> in transaction, etc...
>>    query will display the last query that was executed.
>
> The greater/less-than-sign is still required in the State display?

+1 for removing that. I think the only reason for them to be there in
the first place was to decrease the chance of matching up against a
real query - but that's not going to happen if they are in a separate
field...

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Further plans to refactor xlog.c
Next
From: Fujii Masao
Date:
Subject: Re: Further plans to refactor xlog.c