mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Group cluster_name and update_process_title settings together
This commit is contained in:
@ -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
|
||||
|
@ -443,8 +443,13 @@
|
||||
# than the specified size in kilobytes;
|
||||
# -1 disables, 0 logs all temp files
|
||||
#log_timezone = 'GMT'
|
||||
|
||||
|
||||
# - Process Title -
|
||||
|
||||
#cluster_name = '' # added to process titles if nonempty
|
||||
# (change requires restart)
|
||||
#update_process_title = on
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -458,7 +463,6 @@
|
||||
#track_io_timing = off
|
||||
#track_functions = none # none, pl, all
|
||||
#track_activity_query_size = 1024 # (change requires restart)
|
||||
#update_process_title = on
|
||||
#stats_temp_directory = 'pg_stat_tmp'
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user