diff options
| author | Mason Sharp | 2015-01-07 18:47:21 +0000 |
|---|---|---|
| committer | Pavan Deolasee | 2015-04-15 05:49:15 +0000 |
| commit | bfe4e76cb8c909b379ebf58c71beef615c2fd360 (patch) | |
| tree | f14b5798c775ee2b331d5bf3bec6585b7969ca04 /src/include/pgxc | |
| parent | 1759a58ac03262b870904af45a826373f3594225 (diff) | |
Fix "pgxc_ctl init".
The commit 974c23972d57e2072f2c8bc345e45d03dc688bf5 had the
side effect of causing problems when initializing the cluster
with pgxc_ctl init.
Diffstat (limited to 'src/include/pgxc')
| -rw-r--r-- | src/include/pgxc/pgxcnode.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/pgxc/pgxcnode.h b/src/include/pgxc/pgxcnode.h index 621e4a9a45..e686136bd5 100644 --- a/src/include/pgxc/pgxcnode.h +++ b/src/include/pgxc/pgxcnode.h @@ -165,7 +165,12 @@ extern int PGXCNodeGetNodeIdFromName(char *node_name, char node_type); #endif extern Oid PGXCNodeGetNodeOid(int nodeid, char node_type); +#ifdef XCP +extern PGXCNodeAllHandles *get_handles(List *datanodelist, List *coordlist, bool is_query_coord_only, bool is_global_session); +#else extern PGXCNodeAllHandles *get_handles(List *datanodelist, List *coordlist, bool is_query_coord_only); +#endif + #ifdef XCP extern PGXCNodeAllHandles *get_current_handles(void); #endif |
