Thread: pgsql: pgstattuple: Use SnapshotDirty, not SnapshotNow.

pgsql: pgstattuple: Use SnapshotDirty, not SnapshotNow.

From
Robert Haas
Date:
pgstattuple: Use SnapshotDirty, not SnapshotNow.

Tuples belonging to uncommitted transactions should not be
counted as dead.

This is arguably a bug fix that should be back-patched, but
as no one ever noticed until it came time to try to get rid
of SnapshotNow, I'm only doing this in master for now.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/80c79ab2a8d63bc6c83269b29c1ba993c8077d3a

Modified Files
--------------
contrib/pgstattuple/pgstattuple.c |    4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)