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 e80ae7b commit 98f2cb7Copy full SHA for 98f2cb7
src/backend/tcop/utility.c
@@ -2465,6 +2465,13 @@ IsStmtAllowedInLockedMode(Node *parsetree, const char *queryString)
2465
* Otherwise system would try to acquire a shared
2466
* advisory lock on the crashed node.
2467
*/
2468
+ case T_AlterNodeStmt: /*
2469
+ * This has to be allowed so that ALTER
2470
+ * can be issued to alter a node that has crashed
2471
+ * and may be failed over.
2472
+ * Otherwise system would try to acquire a shared
2473
+ * advisory lock on the crashed node.
2474
+ */
2475
case T_TransactionStmt:
2476
case T_PlannedStmt:
2477
case T_ClosePortalStmt:
0 commit comments