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
6b82f78f
Commit
6b82f78f
authored
Oct 08, 2013
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Again move function where we set effective_cache_size's default
parent
cbafd661
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/backend/bootstrap/bootstrap.c
src/backend/bootstrap/bootstrap.c
+2
-2
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+2
-2
No files found.
src/backend/bootstrap/bootstrap.c
View file @
6b82f78f
...
@@ -312,8 +312,6 @@ AuxiliaryProcessMain(int argc, char *argv[])
...
@@ -312,8 +312,6 @@ AuxiliaryProcessMain(int argc, char *argv[])
proc_exit
(
1
);
proc_exit
(
1
);
}
}
set_default_effective_cache_size
();
/*
/*
* Identify myself via ps
* Identify myself via ps
*/
*/
...
@@ -352,6 +350,8 @@ AuxiliaryProcessMain(int argc, char *argv[])
...
@@ -352,6 +350,8 @@ AuxiliaryProcessMain(int argc, char *argv[])
proc_exit
(
1
);
proc_exit
(
1
);
}
}
set_default_effective_cache_size
();
/* Validate we have been given a reasonable-looking DataDir */
/* Validate we have been given a reasonable-looking DataDir */
Assert
(
DataDir
);
Assert
(
DataDir
);
ValidatePgVersion
(
DataDir
);
ValidatePgVersion
(
DataDir
);
...
...
src/backend/postmaster/postmaster.c
View file @
6b82f78f
...
@@ -778,8 +778,6 @@ PostmasterMain(int argc, char *argv[])
...
@@ -778,8 +778,6 @@ PostmasterMain(int argc, char *argv[])
ExitPostmaster
(
1
);
ExitPostmaster
(
1
);
}
}
set_default_effective_cache_size
();
/*
/*
* Locate the proper configuration files and data directory, and read
* Locate the proper configuration files and data directory, and read
* postgresql.conf for the first time.
* postgresql.conf for the first time.
...
@@ -797,6 +795,8 @@ PostmasterMain(int argc, char *argv[])
...
@@ -797,6 +795,8 @@ PostmasterMain(int argc, char *argv[])
ExitPostmaster
(
0
);
ExitPostmaster
(
0
);
}
}
set_default_effective_cache_size
();
/* Verify that DataDir looks reasonable */
/* Verify that DataDir looks reasonable */
checkDataDir
();
checkDataDir
();
...
...
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