Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6b82f78

Browse files
committed
Again move function where we set effective_cache_size's default
1 parentcbafd66 commit6b82f78

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/backend/bootstrap/bootstrap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

‎src/backend/postmaster/postmaster.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp