1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Group cluster_name and update_process_title settings together

This commit is contained in:
Peter Eisentraut
2015-10-04 11:14:28 -04:00
parent 4365d9c18f
commit e45f8f8820
4 changed files with 64 additions and 46 deletions

View File

@ -581,6 +581,8 @@ const char *const config_group_names[] =
gettext_noop("Reporting and Logging / When to Log"),
/* LOGGING_WHAT */
gettext_noop("Reporting and Logging / What to Log"),
/* PROCESS_TITLE */
gettext_noop("Process Title"),
/* STATS */
gettext_noop("Statistics"),
/* STATS_MONITORING */
@ -1181,7 +1183,7 @@ static struct config_bool ConfigureNamesBool[] =
},
{
{"update_process_title", PGC_SUSET, STATS_COLLECTOR,
{"update_process_title", PGC_SUSET, PROCESS_TITLE,
gettext_noop("Updates the process title to show the active SQL command."),
gettext_noop("Enables updating of the process title every time a new SQL command is received by the server.")
},
@ -3366,7 +3368,7 @@ static struct config_string ConfigureNamesString[] =
},
{
{"cluster_name", PGC_POSTMASTER, LOGGING_WHAT,
{"cluster_name", PGC_POSTMASTER, PROCESS_TITLE,
gettext_noop("Sets the name of the cluster which is included in the process title."),
NULL,
GUC_IS_NAME