1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-25 01:02:05 +03:00

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
This commit is contained in:
Michael Paquier
2025-02-19 08:42:35 +09:00
parent 06dc1ffd24
commit f2e4c2b203

View 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,