Thread
-
[PATCH 2/2] Make GUC descriptions consistent 2
Kyotaro Horiguchi <horikyota.ntt@gmail.com> — 2025-02-18T01:14:43Z
A few existing GUC descriptions were using "Enable xxx" instead of the more common "Enables xxx" style. Update these descriptions to maintain consistency across all variables. --- src/backend/utils/misc/guc_tables.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/utils/misc/guc_tables.c b/src/backend/utils/misc/guc_tables.c index 3b488b4a559..aac91a6e31f 100644 --- a/src/backend/utils/misc/guc_tables.c +++ b/src/backend/utils/misc/guc_tables.c @@ -1667,7 +1667,7 @@ struct config_bool ConfigureNamesBool[] = }, { {"row_security", PGC_USERSET, CLIENT_CONN_STATEMENT, - gettext_noop("Enable row security."), + gettext_noop("Enables row security."), gettext_noop("When enabled, row security will be applied to all users.") }, &row_security, @@ -1685,7 +1685,7 @@ struct config_bool ConfigureNamesBool[] = }, { {"array_nulls", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS, - gettext_noop("Enable input of NULL elements in arrays."), + gettext_noop("Enables input of NULL elements in arrays."), gettext_noop("When turned on, unquoted NULL in an array input " "value means a null value; " "otherwise it is taken literally.") @@ -1759,7 +1759,7 @@ struct config_bool ConfigureNamesBool[] = { { "optimize_bounded_sort", PGC_USERSET, QUERY_TUNING_METHOD, - gettext_noop("Enable bounded sorting using heap sort."), + gettext_noop("Enables bounded sorting using heap sort."), NULL, GUC_NOT_IN_SAMPLE | GUC_EXPLAIN }, @@ -1836,7 +1836,7 @@ struct config_bool ConfigureNamesBool[] = { {"synchronize_seqscans", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS, - gettext_noop("Enable synchronized sequential scans."), + gettext_noop("Enables synchronized sequential scans."), NULL }, &synchronize_seqscans, -- 2.43.5 ----Next_Part(Tue_Feb_18_10_32_40_2025_065)----