Re: Transaction start in pg_stat_activity - Mailing list pgsql-patches

From Tom Lane
Subject Re: Transaction start in pg_stat_activity
Date
Msg-id 7559.1164041175@sss.pgh.pa.us
Whole thread Raw
In response to Re: Transaction start in pg_stat_activity  ("Simon Riggs" <simon@2ndquadrant.com>)
List pgsql-patches
"Simon Riggs" <simon@2ndquadrant.com> writes:
> That's true, but you don't know which one is the snapshot timestamp.

You're assuming there is such a thing as "the" unique active snapshot,
an assumption I find highly dubious.  In any case, the reasons for
wanting to know which transactions are old have to do with the behavior
of VACUUM, and that only pays attention to the age of the whole
transaction not any individual snapshots.  So I still don't see the
point of cluttering pg_stat_activity with yet more columns.

            regards, tom lane

pgsql-patches by date:

Previous
From: "Simon Riggs"
Date:
Subject: Re: Transaction start in pg_stat_activity
Next
From: Tom Lane
Date:
Subject: Re: Further MSVC build updates