mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
Adjust auto_explain's GUC descriptions.
This commit adjusts auto_explain's GUC descriptions to follow the style guidelines established by commit 977d865c36. 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
This commit is contained in:
parent
8b49392b27
commit
e636da9200
@ -94,7 +94,7 @@ _PG_init(void)
|
|||||||
/* Define custom GUC variables. */
|
/* Define custom GUC variables. */
|
||||||
DefineCustomIntVariable("auto_explain.log_min_duration",
|
DefineCustomIntVariable("auto_explain.log_min_duration",
|
||||||
"Sets the minimum execution time above which plans will be logged.",
|
"Sets the minimum execution time above which plans will be logged.",
|
||||||
"Zero prints all plans. -1 turns this feature off.",
|
"-1 disables logging plans. 0 means log all plans.",
|
||||||
&auto_explain_log_min_duration,
|
&auto_explain_log_min_duration,
|
||||||
-1,
|
-1,
|
||||||
-1, INT_MAX,
|
-1, INT_MAX,
|
||||||
@ -105,8 +105,8 @@ _PG_init(void)
|
|||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
DefineCustomIntVariable("auto_explain.log_parameter_max_length",
|
DefineCustomIntVariable("auto_explain.log_parameter_max_length",
|
||||||
"Sets the maximum length of query parameters to log.",
|
"Sets the maximum length of query parameter values to log.",
|
||||||
"Zero logs no query parameters, -1 logs them in full.",
|
"-1 means log values in full.",
|
||||||
&auto_explain_log_parameter_max_length,
|
&auto_explain_log_parameter_max_length,
|
||||||
-1,
|
-1,
|
||||||
-1, INT_MAX,
|
-1, INT_MAX,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user