File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -312,8 +312,6 @@ AuxiliaryProcessMain(int argc, char *argv[])
312312 proc_exit (1 );
313313 }
314314
315- set_default_effective_cache_size ();
316-
317315 /*
318316 * Identify myself via ps
319317 */
@@ -352,6 +350,8 @@ AuxiliaryProcessMain(int argc, char *argv[])
352350 proc_exit (1 );
353351 }
354352
353+ set_default_effective_cache_size ();
354+
355355 /* Validate we have been given a reasonable-looking DataDir */
356356 Assert (DataDir );
357357 ValidatePgVersion (DataDir );
Original file line number Diff line number Diff line change @@ -778,8 +778,6 @@ PostmasterMain(int argc, char *argv[])
778778 ExitPostmaster (1 );
779779 }
780780
781- set_default_effective_cache_size ();
782-
783781 /*
784782 * Locate the proper configuration files and data directory, and read
785783 * postgresql.conf for the first time.
@@ -797,6 +795,8 @@ PostmasterMain(int argc, char *argv[])
797795 ExitPostmaster (0 );
798796 }
799797
798+ set_default_effective_cache_size ();
799+
800800 /* Verify that DataDir looks reasonable */
801801 checkDataDir ();
802802
You can’t perform that action at this time.
0 commit comments