pgsql: pgstattuple: Use SnapshotDirty, not SnapshotNow.

Lists: pgsql-committers
From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pgstattuple: Use SnapshotDirty, not SnapshotNow.
Date: 2013-07-25 20:23:29
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-committers

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(-)