Do not run ALTER TYPE .. ADD in a transaction block on the datanode
authorPavan Deolasee <pavan.deolasee@gmail.com>
Tue, 26 May 2015 08:59:24 +0000 (14:29 +0530)
committerPavan Deolasee <pavan.deolasee@gmail.com>
Tue, 26 May 2015 08:59:24 +0000 (14:29 +0530)
src/backend/tcop/utility.c

index 83272de9c968da9e92b3b96c008dc6813062f642..e9e701e177e79133b76b47d91f7d6e51a2026e16 100644 (file)
@@ -2036,7 +2036,8 @@ ProcessUtilitySlow(Node *parsetree,
                                 * inside a transaction block.
                                 */
                                if (IS_PGXC_LOCAL_COORDINATOR)
-                                       ExecUtilityStmtOnNodes(queryString, NULL, sentToRemote, false, EXEC_ON_ALL_NODES, false);
+                                       ExecUtilityStmtOnNodes(queryString, NULL, sentToRemote,
+                                                       true, EXEC_ON_ALL_NODES, false);
 #endif
                                break;