aboutsummaryrefslogtreecommitdiff
path: root/src/include/optimizer/predtest.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-07-23 21:05:48 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-07-23 21:05:48 +0000
commitd007a95055b9b649b74b5d25aa4d2b46f3eca21c (patch)
treee726c049f96af578181432ae4da176cf3cbcb970 /src/include/optimizer/predtest.h
parent9af9d674c61ca1c2e26d7a9295d5b1bcc8cabb60 (diff)
downloadpostgresql-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/predtest.h')
-rw-r--r--src/include/optimizer/predtest.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/optimizer/predtest.h b/src/include/optimizer/predtest.h
index cfa58f650a1..0fc0d0f4476 100644
--- a/src/include/optimizer/predtest.h
+++ b/src/include/optimizer/predtest.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/predtest.h,v 1.1 2005/06/10 22:25:37 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/optimizer/predtest.h,v 1.2 2005/07/23 21:05:48 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -19,5 +19,7 @@
extern bool predicate_implied_by(List *predicate_list,
List *restrictinfo_list);
+extern bool predicate_refuted_by(List *predicate_list,
+ List *restrictinfo_list);
#endif /* PREDTEST_H */