summaryrefslogtreecommitdiff
path: root/src/include/utils/guc.h
diff options
context:
space:
mode:
authorAlvaro Herrera2021-05-15 18:13:09 +0000
committerAlvaro Herrera2021-05-15 18:13:09 +0000
commitcafde58b337e007cb6a719f5ab4dd6459d932a39 (patch)
tree4c91ed4a899e03f7b9f0f5cadf01f2eb8d9cb950 /src/include/utils/guc.h
parent30d8bad494ad1f604295033e4f4de4b8f258fe74 (diff)
Allow compute_query_id to be set to 'auto' and make it default
Allowing only on/off meant that all either all existing configuration guides would become obsolete if we disabled it by default, or that we would have to accept a performance loss in the default config if we enabled it by default. By allowing 'auto' as a middle ground, the performance cost is only paid by those who enable pg_stat_statements and similar modules. I only edited the release notes to comment-out a paragraph that is now factually wrong; further edits are probably needed to describe the related change in more detail. Author: Julien Rouhaud <[email protected]> Reviewed-by: Justin Pryzby <[email protected]> Discussion: https://postgr.es/m/20210513002623.eugftm4nk2lvvks3@nol
Diffstat (limited to 'src/include/utils/guc.h')
-rw-r--r--src/include/utils/guc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h
index 24a5d9d3fb2..a7c3a4958e0 100644
--- a/src/include/utils/guc.h
+++ b/src/include/utils/guc.h
@@ -247,7 +247,6 @@ extern bool log_btree_build_stats;
extern PGDLLIMPORT bool check_function_bodies;
extern bool session_auth_is_superuser;
-extern bool compute_query_id;
extern bool log_duration;
extern int log_parameter_max_length;
extern int log_parameter_max_length_on_error;