Change currtid functions to use an MVCC snapshot, not SnapshotNow.
Robert Haas <rhaas@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/tid.c | modified | +10 −2 |