From f2e4c2b2039e8e1944c6b50531910cc389f47ace Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Wed, 19 Feb 2025 08:42:35 +0900 Subject: [PATCH] Make the description of some GUCs more consistent This commit improves the description of a couple of GUCs, to be more consistent with the style of their surroundings: * array_nulls * enable_self_join_elimination * optimize_bounded_sort * row_security * synchronize_seqscans Author: Kyotaro Horiguchi Discussion: https://postgr.es/m/20250218.103240.1422205966404509831.horikyota.ntt@gmail.com --- src/backend/utils/misc/guc_tables.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/backend/utils/misc/guc_tables.c b/src/backend/utils/misc/guc_tables.c index cce73314609..aac91a6e31f 100644 --- a/src/backend/utils/misc/guc_tables.c +++ b/src/backend/utils/misc/guc_tables.c @@ -990,7 +990,7 @@ struct config_bool ConfigureNamesBool[] = }, { {"enable_self_join_elimination", PGC_USERSET, QUERY_TUNING_METHOD, - gettext_noop("Enable removal of unique self-joins."), + gettext_noop("Enables removal of unique self-joins."), NULL, GUC_EXPLAIN | GUC_NOT_IN_SAMPLE }, @@ -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,