]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Make the description of some GUCs more consistent
authorMichael Paquier <michael@paquier.xyz>
Tue, 18 Feb 2025 23:42:35 +0000 (08:42 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 18 Feb 2025 23:42:35 +0000 (08:42 +0900)
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

index cce73314609069aa7721d42c55f9a9fd06bde9c4..aac91a6e31f4eaf237f413e9bf7e829d80043dae 100644 (file)
@@ -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,