diff options
Diffstat (limited to 'src/include/optimizer/clauses.h')
-rw-r--r-- | src/include/optimizer/clauses.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/include/optimizer/clauses.h b/src/include/optimizer/clauses.h index 9cccc65454e..946a9b0586f 100644 --- a/src/include/optimizer/clauses.h +++ b/src/include/optimizer/clauses.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: clauses.h,v 1.36 2000/04/12 17:16:41 momjian Exp $ + * $Id: clauses.h,v 1.37 2000/05/30 04:24:57 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -16,6 +16,14 @@ #include "nodes/relation.h" +/* + * Flag bits returned by get_relattval(). + * These are used in selectivity-estimation routines, too. + */ +#define SEL_CONSTANT 1 /* operator's non-var arg is a constant */ +#define SEL_RIGHT 2 /* operator's non-var arg is on the right */ + + extern Expr *make_clause(int type, Node *oper, List *args); extern bool is_opclause(Node *clause); |