Skip to content

Commit e636da9

Browse files
Adjust auto_explain's GUC descriptions.
This commit adjusts auto_explain's GUC descriptions to follow the style guidelines established by commit 977d865. Specifically, it ensures the accepted special values are listed in a consistent manner. Author: Ilia Evdokimov <ilya.evdokimov@tantorlabs.com> Reviewed-by: Peter Smith <smithpb2250@gmail.com> Discussion: https://postgr.es/m/e82d4647-ce7f-45c7-9b01-fb900a050767%40tantorlabs.com
1 parent 8b49392 commit e636da9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/auto_explain/auto_explain.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ _PG_init(void)
9494
/* Define custom GUC variables. */
9595
DefineCustomIntVariable("auto_explain.log_min_duration",
9696
"Sets the minimum execution time above which plans will be logged.",
97-
"Zero prints all plans. -1 turns this feature off.",
97+
"-1 disables logging plans. 0 means log all plans.",
9898
&auto_explain_log_min_duration,
9999
-1,
100100
-1, INT_MAX,
@@ -105,8 +105,8 @@ _PG_init(void)
105105
NULL);
106106

107107
DefineCustomIntVariable("auto_explain.log_parameter_max_length",
108-
"Sets the maximum length of query parameters to log.",
109-
"Zero logs no query parameters, -1 logs them in full.",
108+
"Sets the maximum length of query parameter values to log.",
109+
"-1 means log values in full.",
110110
&auto_explain_log_parameter_max_length,
111111
-1,
112112
-1, INT_MAX,

0 commit comments

Comments
 (0)