pgsql: Remove SnapshotNow and HeapTupleSatisfiesNow.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove SnapshotNow and HeapTupleSatisfiesNow.
Date: 2013-08-01 14:54:29
Message-ID: E1V4uGr-0006GY-DR@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove SnapshotNow and HeapTupleSatisfiesNow.

We now use MVCC catalog scans, and, per discussion, have eliminated
all other remaining uses of SnapshotNow, so that we can now get rid of
it. This will break third-party code which is still using it, which
is intentional, as we want such code to be updated to do things the
new way.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/813fb0315587d32e3b77af1051a0ef517d187763

Modified Files
--------------
src/backend/catalog/index.c | 25 ++---
src/backend/catalog/pg_enum.c | 27 +----
src/backend/commands/cluster.c | 10 --
src/backend/utils/time/tqual.c | 223 +---------------------------------------
src/include/utils/tqual.h | 4 -
5 files changed, 16 insertions(+), 273 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2013-08-01 16:20:58 pgsql: Assorted bgworker-related comment fixes.
Previous Message Stephen Frost 2013-08-01 05:33:12 pgsql: Add locking around SSL_context usage in libpq