aboutsummaryrefslogtreecommitdiff
path: root/src/include/tcop/pquery.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/tcop/pquery.h')
-rw-r--r--src/include/tcop/pquery.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/tcop/pquery.h b/src/include/tcop/pquery.h
index 507d89cf69b..20173d5693e 100644
--- a/src/include/tcop/pquery.h
+++ b/src/include/tcop/pquery.h
@@ -17,6 +17,8 @@
#include "nodes/parsenodes.h"
#include "utils/portal.h"
+struct PlannedStmt; /* avoid including plannodes.h here */
+
extern PGDLLIMPORT Portal ActivePortal;
@@ -42,4 +44,8 @@ extern uint64 PortalRunFetch(Portal portal,
long count,
DestReceiver *dest);
+extern bool PlannedStmtRequiresSnapshot(struct PlannedStmt *pstmt);
+
+extern void EnsurePortalSnapshotExists(void);
+
#endif /* PQUERY_H */