]> granicus.if.org Git - postgresql/blob - src/include/nodes/makefuncs.h
Change #include's to use <> and "" as appropriate.
[postgresql] / src / include / nodes / makefuncs.h
1 /*-------------------------------------------------------------------------
2  *
3  * makefuncs.h
4  *        prototypes for the creator functions (for primitive nodes)
5  *
6  *
7  * Copyright (c) 1994, Regents of the University of California
8  *
9  * $Id: makefuncs.h,v 1.20 1999/07/15 23:03:52 momjian Exp $
10  *
11  *-------------------------------------------------------------------------
12  */
13 #ifndef MAKEFUNC_H
14 #define MAKEFUNC_H
15
16 #include "nodes/parsenodes.h"
17
18 extern Oper *makeOper(Oid opno,
19                  Oid opid,
20                  Oid opresulttype,
21                  int opsize,
22                  FunctionCachePtr op_fcache);
23
24 extern Var *makeVar(Index varno,
25                 AttrNumber varattno,
26                 Oid vartype,
27                 int32 vartypmod,
28                 Index varlevelsup,
29                 Index varnoold,
30                 AttrNumber varoattno);
31
32 extern TargetEntry *makeTargetEntry(Resdom *resdom, Node *expr);
33
34 extern Resdom *makeResdom(AttrNumber resno,
35                    Oid restype,
36                    int32 restypmod,
37                    char *resname,
38                    Index reskey,
39                    Oid reskeyop,
40                    bool resjunk);
41
42 extern Const *makeConst(Oid consttype,
43                   int constlen,
44                   Datum constvalue,
45                   bool constisnull,
46                   bool constbyval,
47                   bool constisset,
48                   bool constiscast);
49
50 #endif   /* MAKEFUNC_H */