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

From Robert Haas
Subject Re: IDLE in transaction introspection
Date
Msg-id CA+TgmoYPVjqtpWPJVaTtdicyFsMv6pWtyHppEw3CCy7VkF93-Q@mail.gmail.com
Whole thread Raw
In response to Re: IDLE in transaction introspection  (Magnus Hagander <magnus@hagander.net>)
Responses Re: IDLE in transaction introspection
Re: IDLE in transaction introspection
List pgsql-hackers
On Mon, Oct 31, 2011 at 5:45 PM, Magnus Hagander <magnus@hagander.net> wrote:
> Actually, for the future, it might be useful to have a "state" column,
> that holds the idle/in transaction/running status, instead of the
> tools having to parse the query text to get that information...

+1 for doing it this way.  Splitting "current_query" into "query" and
"state" would be more elegant and easier to use all around.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Treat
Date:
Subject: Re: unite recovery.conf and postgresql.conf
Next
From: Mark Mielke
Date:
Subject: Re: Thoughts on "SELECT * EXCLUDING (...) FROM ..."?