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

From Tom Lane
Subject Re: IDLE in transaction introspection
Date
Msg-id 11938.1320951359@sss.pgh.pa.us
Whole thread Raw
In response to Re: IDLE in transaction introspection  (Bruce Momjian <bruce@momjian.us>)
Responses Re: IDLE in transaction introspection
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> It might be cleaner to use booleans:
>     active:         t/f
>     in transaction: t/f

I don't think so, because that makes some very strict assumptions that
there are exactly four interesting states (an assumption that isn't
even true today, to judge by the activity strings we're using now).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dump 9.1.1 hanging (collectSecLabels gets 0 labels)
Next
From: Bruce Momjian
Date:
Subject: Re: IDLE in transaction introspection