From: Pavan Deolasee Date: Thu, 25 Jun 2015 06:35:51 +0000 (+0530) Subject: Propogate ALTER TABLE ALL IN correctly to all nodes X-Git-Tag: XL9_5_R1BETA1~221 X-Git-Url: http://git.postgresql.org/gitweb/review?a=commitdiff_plain;h=e7b61d3b010134485741fcb509d5e6f5c9cad383;p=postgres-xl.git Propogate ALTER TABLE ALL IN correctly to all nodes --- diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index da13ac7417..9744714321 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -2462,6 +2462,10 @@ ProcessUtilitySlow(Node *parsetree, case T_AlterTableMoveAllStmt: AlterTableMoveAll((AlterTableMoveAllStmt *) parsetree); +#ifdef PGXC + if (IS_PGXC_LOCAL_COORDINATOR) + ExecUtilityStmtOnNodes(queryString, NULL, sentToRemote, false, EXEC_ON_ALL_NODES, false); +#endif /* commands are stashed in AlterTableMoveAll */ commandCollected = true; break;