]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Change currtid functions to use an MVCC snapshot, not SnapshotNow.
authorRobert Haas <rhaas@postgresql.org>
Thu, 25 Jul 2013 20:32:02 +0000 (16:32 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 25 Jul 2013 20:32:02 +0000 (16:32 -0400)
commited93feb80891b131e9676e962256cc2b18aa5e78
tree9e487863b1d62bf8436eafb85ada92c2f4219c3a
parent80c79ab2a8d63bc6c83269b29c1ba993c8077d3a
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.
src/backend/utils/adt/tid.c