/*$Header: /private/postgres/src/lib/H/planner/RCS/clause.h,v 1.6 1992/07/04 04:03:59 mao Exp $*/

extern LispValue pull_constant_clauses ARGS((LispValue quals));
extern LispValue pull_relation_level_clauses ARGS((LispValue quals));
extern LispValue clause_relids_vars ARGS((LispValue clause));
extern int NumRelids ARGS((Expr clause));
extern bool relation_level_clause_p ARGS((LispValue clause));
extern bool contains_not ARGS((LispValue clause));
extern bool join_clause_p ARGS((LispValue clause));
extern bool qual_clause_p ARGS((LispValue clause));
extern bool function_index_clause_p ARGS((LispValue clause, LispValue rel, LispValue index));
extern void fix_opid ARGS((LispValue clause));
extern LispValue fix_opids ARGS((LispValue clauses));
extern LispValue get_relattval ARGS((LispValue clause));
extern LispValue get_relsatts ARGS((LispValue clause));
extern bool is_clause ARGS((LispValue clause));
