diff options
author | Nathan Bossart <nathan@postgresql.org> | 2025-02-28 16:05:51 -0600 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2025-02-28 16:05:51 -0600 |
commit | e636da92002857c24f8b66b6ac4a47ff91803c06 (patch) | |
tree | 5d74d293068f732b732822a73b1fa3def65eb77e /contrib/auto_explain/auto_explain.c | |
parent | 8b49392b270b4ac0b9f5c210e2a503546841e832 (diff) | |
download | postgresql-e636da92002857c24f8b66b6ac4a47ff91803c06.tar.gz postgresql-e636da92002857c24f8b66b6ac4a47ff91803c06.zip |
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
Diffstat (limited to 'contrib/auto_explain/auto_explain.c')
-rw-r--r-- | contrib/auto_explain/auto_explain.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/auto_explain/auto_explain.c b/contrib/auto_explain/auto_explain.c index 8d665f1e621..7007a226c08 100644 --- a/contrib/auto_explain/auto_explain.c +++ b/contrib/auto_explain/auto_explain.c @@ -94,7 +94,7 @@ _PG_init(void) /* Define custom GUC variables. */ DefineCustomIntVariable("auto_explain.log_min_duration", "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, -1, -1, INT_MAX, @@ -105,8 +105,8 @@ _PG_init(void) NULL); DefineCustomIntVariable("auto_explain.log_parameter_max_length", - "Sets the maximum length of query parameters to log.", - "Zero logs no query parameters, -1 logs them in full.", + "Sets the maximum length of query parameter values to log.", + "-1 means log values in full.", &auto_explain_log_parameter_max_length, -1, -1, INT_MAX, |