pgstattuple: Use SnapshotDirty, not SnapshotNow.

Robert Haas <rhaas@postgresql.org>

Commit: 80c79ab2a8d63bc6c83269b29c1ba993c8077d3a
Author: Robert Haas <rhaas@postgresql.org>
Date: 2013-07-25T20:21:13Z
Releases: 9.4.0
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.

Files

PathChange+/−
contrib/pgstattuple/pgstattuple.c modified +3 −1