We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07052de commit 02a7d51Copy full SHA for 02a7d51
1 file changed
src/monitor/node_active_protocol.c
@@ -2392,13 +2392,6 @@ synchronous_standby_names(PG_FUNCTION_ARGS)
2392
/* when we have more than one node, fetch the primary */
2393
AutoFailoverNode *primaryNode = GetPrimaryNodeInGroup(formationId, groupId);
2394
2395
- if (primaryNode == NULL)
2396
- {
2397
- ereport(ERROR,
2398
- (errmsg("Couldn't find the primary node in formation \"%s\", "
2399
- "group %d", formationId, groupId)));
2400
- }
2401
-
2402
List *standbyNodesGroupList = AutoFailoverOtherNodesList(primaryNode);
2403
2404
/*
0 commit comments