diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-23 21:05:48 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-23 21:05:48 +0000 |
commit | d007a95055b9b649b74b5d25aa4d2b46f3eca21c (patch) | |
tree | e726c049f96af578181432ae4da176cf3cbcb970 /src/include/optimizer/cost.h | |
parent | 9af9d674c61ca1c2e26d7a9295d5b1bcc8cabb60 (diff) | |
download | postgresql-d007a95055b9b649b74b5d25aa4d2b46f3eca21c.tar.gz postgresql-d007a95055b9b649b74b5d25aa4d2b46f3eca21c.zip |
Simple constraint exclusion. For now, only child tables of inheritance
scans are candidates for exclusion; this should be fixed eventually.
Simon Riggs, with some help from Tom Lane.
Diffstat (limited to 'src/include/optimizer/cost.h')
-rw-r--r-- | src/include/optimizer/cost.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/optimizer/cost.h b/src/include/optimizer/cost.h index 5b6d2824253..a6988e45991 100644 --- a/src/include/optimizer/cost.h +++ b/src/include/optimizer/cost.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/optimizer/cost.h,v 1.68 2005/06/05 22:32:58 tgl Exp $ + * $PostgreSQL: pgsql/src/include/optimizer/cost.h,v 1.69 2005/07/23 21:05:48 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -49,6 +49,7 @@ extern bool enable_hashagg; extern bool enable_nestloop; extern bool enable_mergejoin; extern bool enable_hashjoin; +extern bool enable_constraint_exclusion; extern double clamp_row_est(double nrows); extern void cost_seqscan(Path *path, PlannerInfo *root, RelOptInfo *baserel); |