summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane2002-05-21 22:59:01 +0000
committerTom Lane2002-05-21 22:59:01 +0000
commit6c6f395a8aca8a9525d62cbf46fbafd130bdb9e5 (patch)
tree3441e3fff093efdb62b2ef19cac4371fe248c241 /src/include
parent26fcd25c57cd56cd42f1cec73ede1198d1ca941b (diff)
Since COPY fires triggers, it seems like a good idea for it to use
a frozen (copied) snapshot too. Move execMain's snapshot copying code out into a subroutine in case we find other places that need it.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/utils/tqual.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/tqual.h b/src/include/utils/tqual.h
index f5f03ea01af..3ddceff5f8d 100644
--- a/src/include/utils/tqual.h
+++ b/src/include/utils/tqual.h
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: tqual.h,v 1.39 2002/05/21 22:05:55 tgl Exp $
+ * $Id: tqual.h,v 1.40 2002/05/21 22:59:01 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -112,6 +112,7 @@ extern HTSV_Result HeapTupleSatisfiesVacuum(HeapTupleHeader tuple,
extern Snapshot GetSnapshotData(bool serializable);
extern void SetQuerySnapshot(void);
+extern Snapshot CopyQuerySnapshot(void);
extern void FreeXactSnapshot(void);
#endif /* TQUAL_H */