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 1b9c889 commit 1f29b15Copy full SHA for 1f29b15
src/backend/access/transam/xlog.c
@@ -8838,7 +8838,7 @@ CreateCheckPoint(int flags)
8838
* We now have ProcLastRecPtr = start of actual checkpoint record, recptr
8839
* = end of actual checkpoint record.
8840
*/
8841
- if (shutdown && checkPoint.redo != ProcLastRecPtr && OnlineUpgradePath == NULL)
+ if (shutdown && checkPoint.redo != ProcLastRecPtr && *OnlineUpgradePath == '\0')
8842
ereport(PANIC,
8843
(errmsg("concurrent write-ahead log activity while database system is shutting down")));
8844
src/backend/utils/misc/guc.c
@@ -3678,7 +3678,7 @@ static struct config_string ConfigureNamesString[] =
3678
GUC_SUPERUSER_ONLY
3679
},
3680
&OnlineUpgradePath,
3681
- NULL,
+ "",
3682
check_online_update_support, NULL, NULL
3683
3684
0 commit comments