mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Revoke bc5334d867
This commit is contained in:
@ -424,7 +424,6 @@ int temp_file_limit = -1;
|
||||
int num_temp_buffers = 1024;
|
||||
|
||||
char *data_directory;
|
||||
char *recovery_config_directory;
|
||||
char *ConfigFileName;
|
||||
char *HbaFileName;
|
||||
char *IdentFileName;
|
||||
@ -2961,17 +2960,6 @@ static struct config_string ConfigureNamesString[] =
|
||||
NULL, NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
{"recovery_config_directory", PGC_POSTMASTER, FILE_LOCATIONS,
|
||||
gettext_noop("Sets the server's recovery configuration directory."),
|
||||
NULL,
|
||||
GUC_SUPERUSER_ONLY
|
||||
},
|
||||
&recovery_config_directory,
|
||||
NULL,
|
||||
NULL, NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
{"config_file", PGC_POSTMASTER, FILE_LOCATIONS,
|
||||
gettext_noop("Sets the server's main configuration file."),
|
||||
@ -4193,18 +4181,6 @@ SelectConfigFiles(const char *userDoption, const char *progname)
|
||||
*/
|
||||
SetConfigOption("data_directory", DataDir, PGC_POSTMASTER, PGC_S_OVERRIDE);
|
||||
|
||||
/*
|
||||
* If the recovery_config_directory GUC variable has been set, use that,
|
||||
* otherwise use DataDir.
|
||||
*
|
||||
* Note: SetRecoveryConfDir will copy and absolute-ize its argument,
|
||||
* so we don't have to.
|
||||
*/
|
||||
if (recovery_config_directory)
|
||||
SetRecoveryConfDir(recovery_config_directory);
|
||||
else
|
||||
SetRecoveryConfDir(DataDir);
|
||||
|
||||
/*
|
||||
* 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
|
||||
|
Reference in New Issue
Block a user