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
d139a5e2
Commit
d139a5e2
authored
Mar 28, 2013
by
Simon Riggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revoke
7a5a59d3
parent
0d1ecd63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+3
-6
No files found.
src/backend/utils/misc/guc.c
View file @
d139a5e2
...
@@ -4187,7 +4187,9 @@ SelectConfigFiles(const char *userDoption, const char *progname)
...
@@ -4187,7 +4187,9 @@ SelectConfigFiles(const char *userDoption, const char *progname)
* Reflect the final DataDir value back into the data_directory GUC var.
* Reflect the final DataDir value back into the data_directory GUC var.
* (If you are wondering why we don't just make them a single variable,
* (If you are wondering why we don't just make them a single variable,
* it's because the EXEC_BACKEND case needs DataDir to be transmitted to
* it's because the EXEC_BACKEND case needs DataDir to be transmitted to
* child backends specially.
* child backends specially. XXX is that still true? Given that we now
* chdir to DataDir, EXEC_BACKEND can read the config file without knowing
* DataDir in advance.)
*/
*/
SetConfigOption
(
"data_directory"
,
DataDir
,
PGC_POSTMASTER
,
PGC_S_OVERRIDE
);
SetConfigOption
(
"data_directory"
,
DataDir
,
PGC_POSTMASTER
,
PGC_S_OVERRIDE
);
...
@@ -4203,11 +4205,6 @@ SelectConfigFiles(const char *userDoption, const char *progname)
...
@@ -4203,11 +4205,6 @@ SelectConfigFiles(const char *userDoption, const char *progname)
else
else
SetRecoveryConfDir
(
DataDir
);
SetRecoveryConfDir
(
DataDir
);
/*
* Reflect the final RecoveryConfDir value back into the GUC var, as above.
*/
SetConfigOption
(
"recovery_config_directory"
,
RecoveryConfDir
,
PGC_POSTMASTER
,
PGC_S_OVERRIDE
);
/*
/*
* If timezone_abbreviations wasn't set in the configuration file, install
* If timezone_abbreviations wasn't set in the configuration file, install
* the default value. We do it this way because we can't safely install a
* the default value. We do it this way because we can't safely install a
...
...
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