summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2013-08-01 10:46:19 -0400
committerRobert Haas <rhaas@postgresql.org>2013-08-01 10:46:19 -0400
commit813fb0315587d32e3b77af1051a0ef517d187763 (patch)
tree55b7d661a5bdbf67ea0e9f15637ccf917ac2eda9 /src/include
parentaad2a630b1b163038ea904e16a59e409020f5828 (diff)
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.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/utils/tqual.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/utils/tqual.h b/src/include/utils/tqual.h
index 800e366f30b..19f56e4b4d3 100644
--- a/src/include/utils/tqual.h
+++ b/src/include/utils/tqual.h
@@ -19,12 +19,10 @@
/* Static variables representing various special snapshot semantics */
-extern PGDLLIMPORT SnapshotData SnapshotNowData;
extern PGDLLIMPORT SnapshotData SnapshotSelfData;
extern PGDLLIMPORT SnapshotData SnapshotAnyData;
extern PGDLLIMPORT SnapshotData SnapshotToastData;
-#define SnapshotNow (&SnapshotNowData)
#define SnapshotSelf (&SnapshotSelfData)
#define SnapshotAny (&SnapshotAnyData)
#define SnapshotToast (&SnapshotToastData)
@@ -67,8 +65,6 @@ typedef enum
/* These are the "satisfies" test routines for the various snapshot types */
extern bool HeapTupleSatisfiesMVCC(HeapTuple htup,
Snapshot snapshot, Buffer buffer);
-extern bool HeapTupleSatisfiesNow(HeapTuple htup,
- Snapshot snapshot, Buffer buffer);
extern bool HeapTupleSatisfiesSelf(HeapTuple htup,
Snapshot snapshot, Buffer buffer);
extern bool HeapTupleSatisfiesAny(HeapTuple htup,