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

From Jaime Casanova
Subject Re: IDLE in transaction introspection
Date
Msg-id CAJKUy5gmS1tA=UP6jJkMfp8AVOXbJrp-mdf1Mzdeb=24C=kztw@mail.gmail.com
Whole thread Raw
In response to Re: IDLE in transaction introspection  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On Mon, Oct 31, 2011 at 4: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...
>

if we are going to create the "state" column let's do it now and
change current_query for last_query (so last query can be running, or
it was the last before enter in idle state)

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: IDLE in transaction introspection
Next
From: Robert Treat
Date:
Subject: Re: unite recovery.conf and postgresql.conf