pgsql: pgstattuple: Use SnapshotDirty, not SnapshotNow.

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

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2013-07-25 20:38:11 pgsql: pgstattuple: Doc update for previous commit.
Previous Message Robert Haas 2013-07-25 18:31:52 pgsql: Don't use SnapshotNow in get_actual_variable_range.