mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Rename log_lock_failure GUC to log_lock_failures for consistency.
This commit renames the GUC log_lock_failure to log_lock_failures to align with the existing similar setting log_lock_waits, which uses the plural form. This improves naming consistency across related GUCs. Suggested-by: Peter Eisentraut <peter@eisentraut.org> Author: Fujii Masao <masao.fujii@gmail.com Reviewed-by: Peter Eisentraut <peter@eisentraut.org> Discussion: https://postgr.es/m/7a8198b6-d5b8-4910-b41e-8d3efcbb015d@eisentraut.org
This commit is contained in:
@@ -1602,11 +1602,11 @@ struct config_bool ConfigureNamesBool[] =
|
||||
NULL, NULL, NULL
|
||||
},
|
||||
{
|
||||
{"log_lock_failure", PGC_SUSET, LOGGING_WHAT,
|
||||
{"log_lock_failures", PGC_SUSET, LOGGING_WHAT,
|
||||
gettext_noop("Logs lock failures."),
|
||||
NULL
|
||||
},
|
||||
&log_lock_failure,
|
||||
&log_lock_failures,
|
||||
false,
|
||||
NULL, NULL, NULL
|
||||
},
|
||||
|
||||
@@ -624,7 +624,7 @@
|
||||
# %% = '%'
|
||||
# e.g. '<%u%%%d> '
|
||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||
#log_lock_failure = off # log lock failures
|
||||
#log_lock_failures = off # log lock failures
|
||||
#log_recovery_conflict_waits = off # log standby recovery conflict waits
|
||||
# >= deadlock_timeout
|
||||
#log_parameter_max_length = -1 # when logging statements, limit logged
|
||||
|
||||
Reference in New Issue
Block a user