From d007a95055b9b649b74b5d25aa4d2b46f3eca21c Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 23 Jul 2005 21:05:48 +0000 Subject: 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. --- src/include/optimizer/predtest.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include/optimizer/predtest.h') 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 */ -- cgit v1.2.3