diff options
| author | Marc G. Fournier <scrappy@hub.org> | 1996-08-28 07:27:54 +0000 | 
|---|---|---|
| committer | Marc G. Fournier <scrappy@hub.org> | 1996-08-28 07:27:54 +0000 | 
| commit | 870be9fa8e5ead7a9fec1b1cf539c701bba57d2a (patch) | |
| tree | 0980ed1b45ec7974d2ceea9df3d0570c165804b6 /src/backend/optimizer/clauses.h | |
| parent | 907c884fe8b88d3df5883c278cacb094a1cfc7ac (diff) | |
Clean up th ecompile process by centralizing the include files
	- code compile tested, but due to a yet unresolved problem with
          parse.h's creation, compile not completed...
Diffstat (limited to 'src/backend/optimizer/clauses.h')
| -rw-r--r-- | src/backend/optimizer/clauses.h | 54 | 
1 files changed, 0 insertions, 54 deletions
diff --git a/src/backend/optimizer/clauses.h b/src/backend/optimizer/clauses.h deleted file mode 100644 index 2289223b3e8..00000000000 --- a/src/backend/optimizer/clauses.h +++ /dev/null @@ -1,54 +0,0 @@ -/*------------------------------------------------------------------------- - * - * clauses.h-- - *    prototypes for clauses.c. - * - * - * Copyright (c) 1994, Regents of the University of California - * - * $Id: clauses.h,v 1.1.1.1 1996/07/09 06:21:34 scrappy Exp $ - * - *------------------------------------------------------------------------- - */ -#ifndef CLAUSES_H -#define CLAUSES_H - -#include "nodes/pg_list.h" -#include "nodes/primnodes.h" - -extern Expr *make_clause(int type, Node *oper, List *args); -extern bool is_opclause(Node *clause); -extern Expr *make_opclause(Oper *op, Var *leftop, Var *rightop); -extern Var *get_leftop(Expr *clause); -extern Var *get_rightop(Expr *clause); - -extern bool agg_clause(Node *clause); - -extern bool is_funcclause(Node *clause); -extern Expr *make_funcclause(Func *func, List *funcargs); - -extern bool or_clause(Node *clause); -extern Expr *make_orclause(List *orclauses); - -extern bool not_clause(Node *clause); -extern Expr *make_notclause(Expr *notclause); -extern Expr *get_notclausearg(Expr *notclause); - -extern bool and_clause(Node *clause); -extern Expr *make_andclause(List *andclauses); - -extern List *pull_constant_clauses(List *quals, List **constantQual); -extern void clause_relids_vars(Node *clause, List **relids, List **vars); -extern int NumRelids(Node *clause); -extern bool contains_not(Node *clause); -extern bool join_clause_p(Node *clause); -extern bool qual_clause_p(Node *clause); -extern void fix_opid(Node *clause); -extern List *fix_opids(List *clauses); -extern void get_relattval(Node *clause, int *relid, -	AttrNumber *attno, Datum *constval, int *flag); -extern void get_rels_atts(Node *clause, int *relid1, -	AttrNumber *attno1, int *relid2, AttrNumber *attno2); -extern void CommuteClause(Node *clause); - -#endif	/* CLAUSES_H */  | 
