Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ac3f55d

Browse files
committed
[refer #PGPRO-3213] Fix problem with restart
1 parent fcb6780 commit ac3f55d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/postmaster/postmaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@ PostmasterMain(int argc, char *argv[])
15441544
* Record postmaster options. We delay this till now to avoid recording
15451545
* bogus options (eg, unusable port number).
15461546
*/
1547-
if (!CreateOptsFile(argc, argv, my_exec_path))
1547+
if (!IsOnlineUpgrade && !CreateOptsFile(argc, argv, my_exec_path))
15481548
ExitPostmaster(1);
15491549

15501550
/*

0 commit comments

Comments
 (0)