diff options
| author | Tom Lane | 2000-05-30 04:25:00 +0000 |
|---|---|---|
| committer | Tom Lane | 2000-05-30 04:25:00 +0000 |
| commit | 0f1e39643de655f5103b09d5a82cadbf26a965c1 (patch) | |
| tree | 32fa30338e5065afbc28df7dae4c2d2a0bce1569 /src/include/optimizer | |
| parent | a12a23f0d03cc8bf22c6c38bc2394753ec34fcdf (diff) | |
Third round of fmgr updates: eliminate calls using fmgr() and
fmgr_faddr() in favor of new-style calls. Lots of cleanup of
sloppy casts to use XXXGetDatum and DatumGetXXX ...
Diffstat (limited to 'src/include/optimizer')
| -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); |
