pgsql: pgstattuple: Use SnapshotDirty, not SnapshotNow. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: pgstattuple: Use SnapshotDirty, not SnapshotNow.
Date
Msg-id E1V2S4P-0007wa-DB@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Don't use SnapshotNow in get_actual_variable_range.
Next
From: Robert Haas
Date:
Subject: pgsql: pgstattuple: Doc update for previous commit.