diff options
Diffstat (limited to 'src/backend/utils/misc')
-rw-r--r-- | src/backend/utils/misc/guc.c | 13 | ||||
-rw-r--r-- | src/backend/utils/misc/postgresql.conf.sample | 2 |
2 files changed, 7 insertions, 8 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 6fd3d9fc5c4..29e0e409307 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -10,7 +10,7 @@ * Written by Peter Eisentraut <peter_e@gmx.net>. * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.285 2005/08/21 03:39:34 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.286 2005/08/22 17:34:59 momjian Exp $ * *-------------------------------------------------------------------- */ @@ -453,13 +453,12 @@ static struct config_bool ConfigureNamesBool[] = true, NULL, NULL }, { - {"enable_constraint_exclusion", PGC_USERSET, QUERY_TUNING_OTHER, - gettext_noop("Enables the planner's use of constraints in queries."), - gettext_noop("Constraints will be examined to exclude tables " - "that can be proven not to be required to produce " - "a correct result for the query.") + {"constraint_exclusion", PGC_USERSET, QUERY_TUNING_OTHER, + gettext_noop("Enables the planner to use constraints to limit table access."), + gettext_noop("This prevents table access if the table constraints " + "guarantee that table access is necessary.") }, - &enable_constraint_exclusion, + &constraint_exclusion, false, NULL, NULL }, { diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index 48152e8ed26..6049aafe191 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -190,7 +190,7 @@ # - Other Planner Options - #default_statistics_target = 10 # range 1-1000 -#enable_constraint_exclusion = off +#constraint_exclusion = off #from_collapse_limit = 8 #join_collapse_limit = 8 # 1 disables collapsing of explicit # JOINs |