projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba61eeb
)
Propogate ALTER TABLE ALL IN correctly to all nodes
author
Pavan Deolasee
<
[email protected]
>
Thu, 25 Jun 2015 06:35:51 +0000
(12:05 +0530)
committer
Pavan Deolasee
<
[email protected]
>
Thu, 25 Jun 2015 06:35:51 +0000
(12:05 +0530)
src/backend/tcop/utility.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/tcop/utility.c
b/src/backend/tcop/utility.c
index da13ac74176be3a7bd94b1a447aecfffe9edcc8e..974471432116978fd3746effc5d76c00f90ad3ff 100644
(file)
--- 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;