File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -4187,7 +4187,9 @@ SelectConfigFiles(const char *userDoption, const char *progname)
4187
4187
* Reflect the final DataDir value back into the data_directory GUC var.
4188
4188
* (If you are wondering why we don't just make them a single variable,
4189
4189
* it's because the EXEC_BACKEND case needs DataDir to be transmitted to
4190
- * child backends specially.
4190
+ * child backends specially. XXX is that still true? Given that we now
4191
+ * chdir to DataDir, EXEC_BACKEND can read the config file without knowing
4192
+ * DataDir in advance.)
4191
4193
*/
4192
4194
SetConfigOption ("data_directory" , DataDir , PGC_POSTMASTER , PGC_S_OVERRIDE );
4193
4195
@@ -4203,11 +4205,6 @@ SelectConfigFiles(const char *userDoption, const char *progname)
4203
4205
else
4204
4206
SetRecoveryConfDir (DataDir );
4205
4207
4206
- /*
4207
- * Reflect the final RecoveryConfDir value back into the GUC var, as above.
4208
- */
4209
- SetConfigOption ("recovery_config_directory" , RecoveryConfDir , PGC_POSTMASTER , PGC_S_OVERRIDE );
4210
-
4211
4208
/*
4212
4209
* If timezone_abbreviations wasn't set in the configuration file, install
4213
4210
* the default value. We do it this way because we can't safely install a
You can’t perform that action at this time.
0 commit comments