summaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/guc_tables.c
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2025-04-07 16:28:54 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2025-04-07 16:28:54 +0300
commit717d0e8dd945edea7c7e875bdb2553238a94f885 (patch)
tree4802908800f788e4fd68a84c0ae142073ac5123e /src/backend/utils/misc/guc_tables.c
parentae60947643722da257a59f8f16f855add307583f (diff)
Remove GUC_NOT_IN_SAMPLE from enable_self_join_elimination
fc069a3a6319 implements Self-Join Elimination (SJE) and provides a new GUC variable: enable_self_join_elimination. This new GUC variable was marked as GUC_NOT_IN_SAMPLE. However, enable_self_join_elimination is documented and is not different from any other enable_* GUCs. Thus, remove GUC_NOT_IN_SAMPLE from it and add it to the postgresql.conf.sample. Discussion: https://postgr.es/m/CAPpHfdsqMTEsmxk3aQwt6xPz%2BKpUELO%3D6fzmER9ZRGrbs4uMfA%40mail.gmail.com Author: Tender Wang <tndrwang@gmail.com> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Diffstat (limited to 'src/backend/utils/misc/guc_tables.c')
-rw-r--r--src/backend/utils/misc/guc_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/misc/guc_tables.c b/src/backend/utils/misc/guc_tables.c
index 4eaeca89f2c..f596fda568c 100644
--- a/src/backend/utils/misc/guc_tables.c
+++ b/src/backend/utils/misc/guc_tables.c
@@ -998,7 +998,7 @@ struct config_bool ConfigureNamesBool[] =
{"enable_self_join_elimination", PGC_USERSET, QUERY_TUNING_METHOD,
gettext_noop("Enables removal of unique self-joins."),
NULL,
- GUC_EXPLAIN | GUC_NOT_IN_SAMPLE
+ GUC_EXPLAIN
},
&enable_self_join_elimination,
true,