File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -931,11 +931,13 @@ PostmasterMain(int argc, char *argv[])
931931 ExitPostmaster (1 );
932932 }
933933
934+ #ifdef EXEC_BACKEND
934935 if (IsOnlineUpgrade )
935936 {
936937 read_backend_variables ("postmaster.params" , NULL );
937938 RegisterUnlinkLockFileCallback ();
938939 }
940+ #endif
939941
940942 /*
941943 * Locate the proper configuration files and data directory, and read
@@ -1075,12 +1077,14 @@ PostmasterMain(int argc, char *argv[])
10751077 /*
10761078 * Set up shared memory and semaphores.
10771079 */
1080+ #ifdef EXEC_BACKEND
10781081 if (IsOnlineUpgrade )
10791082 {
10801083 PGSharedMemoryReAttach ();
10811084 RestoreBackendList ();
10821085 }
10831086 else
1087+ #endif
10841088 {
10851089 /*
10861090 * Now that loadable modules have had their chance to register background
You can’t perform that action at this time.
0 commit comments