Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbe54551

Browse files
committed
Fix flags of some GUCs and improve some descriptions
This commit fixes some issues with GUCs:- enable_incremental_sort was not marked as GUC_EXPLAIN, causing it tonot be listed in the output of EXPLAIN (SETTINGS) if using a valuedifferent than the default, contrary to the other planner-level GUCs.- trace_recovery_messages missed GUC_NOT_IN_SAMPLE, like the otherdeveloper options.- ssl_renegotiation_limit should be marked as COMPAT_OPTIONS_PREVIOUS.While on it, this fixes one incorrect comment related toautovacuum_freeze_max_age, and improves the descriptions of some otherGUCs, recently introduced.Extracted from a larger patch set by the same author.Author: Justin PryzbyDescription:https://postgr.es/m/20211129030833.GJ17618@telsasoft.com
1 parent8d74fc9 commitbe54551

File tree

1 file changed

+10
-11
lines changed
  • src/backend/utils/misc

1 file changed

+10
-11
lines changed

‎src/backend/utils/misc/guc.c

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,8 @@ static struct config_bool ConfigureNamesBool[] =
10341034
{
10351035
{"enable_incremental_sort",PGC_USERSET,QUERY_TUNING_METHOD,
10361036
gettext_noop("Enables the planner's use of incremental sort steps."),
1037-
NULL
1037+
NULL,
1038+
GUC_EXPLAIN
10381039
},
10391040
&enable_incremental_sort,
10401041
true,
@@ -1223,7 +1224,7 @@ static struct config_bool ConfigureNamesBool[] =
12231224
},
12241225
{
12251226
{"ssl_passphrase_command_supports_reload",PGC_SIGHUP,CONN_AUTH_SSL,
1226-
gettext_noop("Also use ssl_passphrase_command during server reload."),
1227+
gettext_noop("Controls whether ssl_passphrase_command is called during server reload."),
12271228
NULL
12281229
},
12291230
&ssl_passphrase_command_supports_reload,
@@ -2944,8 +2945,8 @@ static struct config_int ConfigureNamesInt[] =
29442945

29452946
{
29462947
{"commit_siblings",PGC_USERSET,WAL_SETTINGS,
2947-
gettext_noop("Sets the minimum concurrent open transactions before performing "
2948-
"commit_delay."),
2948+
gettext_noop("Sets the minimumnumber ofconcurrent open transactions "
2949+
"required before performingcommit_delay."),
29492950
NULL
29502951
},
29512952
&CommitSiblings,
@@ -3298,10 +3299,7 @@ static struct config_int ConfigureNamesInt[] =
32983299
},
32993300
&autovacuum_freeze_max_age,
33003301

3301-
/*
3302-
* see pg_resetwal and vacuum_failsafe_age if you change the
3303-
* upper-limit value.
3304-
*/
3302+
/* see vacuum_failsafe_age if you change the upper-limit value. */
33053303
200000000,100000,2000000000,
33063304
NULL,NULL,NULL
33073305
},
@@ -3403,7 +3401,7 @@ static struct config_int ConfigureNamesInt[] =
34033401
},
34043402

34053403
{
3406-
{"ssl_renegotiation_limit",PGC_USERSET,CONN_AUTH_SSL,
3404+
{"ssl_renegotiation_limit",PGC_USERSET,COMPAT_OPTIONS_PREVIOUS,
34073405
gettext_noop("SSL renegotiation is no longer supported; this can only be 0."),
34083406
NULL,
34093407
GUC_NO_SHOW_ALL |GUC_NOT_IN_SAMPLE |GUC_DISALLOW_IN_FILE,
@@ -4673,7 +4671,7 @@ static struct config_enum ConfigureNamesEnum[] =
46734671

46744672
{
46754673
{"compute_query_id",PGC_SUSET,STATS_MONITORING,
4676-
gettext_noop("Compute query identifiers."),
4674+
gettext_noop("Enables in-core computation of query identifiers."),
46774675
NULL
46784676
},
46794677
&compute_query_id,
@@ -4837,7 +4835,8 @@ static struct config_enum ConfigureNamesEnum[] =
48374835
{"trace_recovery_messages",PGC_SIGHUP,DEVELOPER_OPTIONS,
48384836
gettext_noop("Enables logging of recovery-related debugging information."),
48394837
gettext_noop("Each level includes all the levels that follow it. The later"
4840-
" the level, the fewer messages are sent.")
4838+
" the level, the fewer messages are sent."),
4839+
GUC_NOT_IN_SAMPLE,
48414840
},
48424841
&trace_recovery_messages,
48434842

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp