summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMason S2010-05-26 18:08:02 +0000
committerPavan Deolasee2011-05-19 16:38:48 +0000
commit3b1e177be6e11aa53b20be46793429c77a2ed111 (patch)
tree8ee4d583441df29a1b751828ae435a09b9da09d0 /src/include
parent27d1670155cf14a62cbf19170d404d9f86fcb036 (diff)
Minor change that updates COPY so that it knows ahead
of time whether or not it should only execute on the Coordinator (pg_catalog tables). Written by Michael Paquier
Diffstat (limited to 'src/include')
-rw-r--r--src/include/commands/copy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/commands/copy.h b/src/include/commands/copy.h
index e6eaf5e39e..7a3054d90e 100644
--- a/src/include/commands/copy.h
+++ b/src/include/commands/copy.h
@@ -18,7 +18,8 @@
#include "tcop/dest.h"
#ifdef PGXC
-extern uint64 DoCopy(const CopyStmt *stmt, const char *queryString, bool exec_on_coord_portal, bool *executed);
+extern uint64 DoCopy(const CopyStmt *stmt, const char *queryString, bool exec_on_coord_portal);
+extern bool IsCoordPortalCopy(const CopyStmt *stmt);
#else
extern uint64 DoCopy(const CopyStmt *stmt, const char *queryString);
#endif