Skip to content

Commit

Permalink
Do not throw fatal error when confiuration of primary and replica do …
Browse files Browse the repository at this point in the history
…not match
  • Loading branch information
Konstantin Knizhnik committed Sep 23, 2024
1 parent 52504a3 commit 0bb232c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/access/transam/xlogrecovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -4849,7 +4849,7 @@ RecoveryRequiresIntParameter(const char *param_name, int currValue, int minValue
ConditionVariableCancelSleep();
}

ereport(FATAL,
ereport(recoveryPauseOnMisconfig ? FATAL : WARNING,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("recovery aborted because of insufficient parameter settings"),
/* Repeat the detail from above so it's easy to find in the log. */
Expand Down

0 comments on commit 0bb232c

Please sign in to comment.