We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd51b73 commit 01238aeCopy full SHA for 01238ae
contrib/pgxc_ctl/datanode_cmd.c
@@ -833,9 +833,9 @@ failover_oneDatanode(int datanodeIdx)
833
continue;
834
}
835
fprintf(f,
836
-#if 0 /* Current alter node does't work well in this context */
+#if 1
837
"ALTER NODE %s WITH (HOST='%s', PORT=%s);\n"
838
-#else
+#else /* When alter node does't work. It does not help anyway */
839
"DROP NODE %s;\n"
840
"CREATE NODE %s WITH (type = datanode, HOST='%s', PORT=%s);\n"
841
#endif
0 commit comments