Change currtid functions to use an MVCC snapshot, not SnapshotNow.

Robert Haas <rhaas@postgresql.org>

Commit: ed93feb80891b131e9676e962256cc2b18aa5e78
Author: Robert Haas <rhaas@postgresql.org>
Date: 2013-07-25T20:32:02Z
Releases: 9.4.0
Change currtid functions to use an MVCC snapshot, not SnapshotNow.

This has a slight performance cost, but the only known consumers
of these functions, known at the SQL level as currtid and currtid2,
is pgsql-odbc; whose usage, we hope, is not sufficiently intensive
to make this a problem.

Per discussion.

Files

PathChange+/−
src/backend/utils/adt/tid.c modified +10 −2