Re: IDLE in transaction introspection

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Scott Mead <scottm(at)openscg(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: IDLE in transaction introspection
Date: 2011-10-31 22:13:04
Message-ID: CA+TgmoYPVjqtpWPJVaTtdicyFsMv6pWtyHppEw3CCy7VkF93-Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Oct 31, 2011 at 5:45 PM, Magnus Hagander <magnus(at)hagander(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Mielke 2011-10-31 22:18:40 Re: Thoughts on "SELECT * EXCLUDING (...) FROM ..."?
Previous Message Jaime Casanova 2011-10-31 21:59:34 Re: IDLE in transaction introspection