aboutsummaryrefslogtreecommitdiff
path: root/src/include/optimizer/predtest.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-06-10 22:25:37 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-06-10 22:25:37 +0000
commit2f1210629cf357fd0b6035e47ef10f240c82f6d5 (patch)
tree70e09751318b83743341f407903f9a0421fb052f /src/include/optimizer/predtest.h
parent111e29ef5ebebef8480abbd1f41e2956ede055b3 (diff)
downloadpostgresql-2f1210629cf357fd0b6035e47ef10f240c82f6d5.tar.gz
postgresql-2f1210629cf357fd0b6035e47ef10f240c82f6d5.zip
Separate predicate-testing code out of indxpath.c, making it a module
in its own right. As proposed by Simon Riggs, but with some editorializing of my own.
Diffstat (limited to 'src/include/optimizer/predtest.h')
-rw-r--r--src/include/optimizer/predtest.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/optimizer/predtest.h b/src/include/optimizer/predtest.h
new file mode 100644
index 00000000000..cfa58f650a1
--- /dev/null
+++ b/src/include/optimizer/predtest.h
@@ -0,0 +1,23 @@
+/*-------------------------------------------------------------------------
+ *
+ * predtest.h
+ * prototypes for predtest.c
+ *
+ *
+ * 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 $
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef PREDTEST_H
+#define PREDTEST_H
+
+#include "nodes/primnodes.h"
+
+
+extern bool predicate_implied_by(List *predicate_list,
+ List *restrictinfo_list);
+
+#endif /* PREDTEST_H */