Commit d139a5e2 authored by Simon Riggs's avatar Simon Riggs

Revoke 7a5a59d3

parent 0d1ecd63
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment