Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
0c6b6750
Commit
0c6b6750
authored
Oct 09, 2013
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Centralize effective_cache_size default setting
parent
96dfa6ec
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
6 deletions
+2
-6
src/backend/bootstrap/bootstrap.c
src/backend/bootstrap/bootstrap.c
+0
-2
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+0
-2
src/backend/tcop/postgres.c
src/backend/tcop/postgres.c
+0
-2
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+2
-0
No files found.
src/backend/bootstrap/bootstrap.c
View file @
0c6b6750
...
...
@@ -350,8 +350,6 @@ AuxiliaryProcessMain(int argc, char *argv[])
proc_exit
(
1
);
}
set_default_effective_cache_size
();
/* Validate we have been given a reasonable-looking DataDir */
Assert
(
DataDir
);
ValidatePgVersion
(
DataDir
);
...
...
src/backend/postmaster/postmaster.c
View file @
0c6b6750
...
...
@@ -785,8 +785,6 @@ PostmasterMain(int argc, char *argv[])
if
(
!
SelectConfigFiles
(
userDoption
,
progname
))
ExitPostmaster
(
2
);
set_default_effective_cache_size
();
if
(
output_config_variable
!=
NULL
)
{
/*
...
...
src/backend/tcop/postgres.c
View file @
0c6b6750
...
...
@@ -3592,8 +3592,6 @@ PostgresMain(int argc, char *argv[],
proc_exit
(
1
);
}
set_default_effective_cache_size
();
/*
* You might expect to see a setsid() call here, but it's not needed,
* because if we are under a postmaster then BackendInitialize() did it.
...
...
src/backend/utils/misc/guc.c
View file @
0c6b6750
...
...
@@ -4238,6 +4238,8 @@ SelectConfigFiles(const char *userDoption, const char *progname)
*/
pg_timezone_abbrev_initialize
();
set_default_effective_cache_size
();
/*
* Figure out where pg_hba.conf is, and make sure the path is absolute.
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment