diff options
| author | Mason S | 2010-05-26 18:08:02 +0000 |
|---|---|---|
| committer | Pavan Deolasee | 2011-05-19 16:38:48 +0000 |
| commit | 3b1e177be6e11aa53b20be46793429c77a2ed111 (patch) | |
| tree | 8ee4d583441df29a1b751828ae435a09b9da09d0 /src/include | |
| parent | 27d1670155cf14a62cbf19170d404d9f86fcb036 (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.h | 3 |
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 |
