summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/utils/misc/guc_tables.c2
-rw-r--r--src/backend/utils/misc/postgresql.conf.sample1
2 files changed, 2 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,
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index ff56a1f0732..bcd4e67f43e 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -427,6 +427,7 @@
#enable_tidscan = on
#enable_group_by_reordering = on
#enable_distinct_reordering = on
+#enable_self_join_elimination = on
# - Planner Cost Constants -