]> granicus.if.org Git - postgresql/blob - src/include/parser/parse_state.h
Massive commit to run PGINDENT on all *.c and *.h files.
[postgresql] / src / include / parser / parse_state.h
1 /*-------------------------------------------------------------------------
2  *
3  * parse_state.h--
4  *
5  * Copyright (c) 1994, Regents of the University of California
6  *
7  * $Id: parse_state.h,v 1.6 1997/09/07 04:59:37 momjian Exp $
8  *
9  *-------------------------------------------------------------------------
10  */
11
12 #ifndef PARSE_STATE_H
13 #define PARSE_STATE_H
14
15 #include <nodes/parsenodes.h>
16 #include <utils/rel.h>
17
18 /* state information used during parse analysis */
19 typedef struct ParseState
20 {
21         int                             p_last_resno;
22         List               *p_rtable;
23         int                             p_numAgg;
24         List               *p_aggs;
25         bool                    p_is_insert;
26         List               *p_insert_columns;
27         bool                    p_is_update;
28         bool                    p_is_rule;
29         Relation                p_target_relation;
30         RangeTblEntry  *p_target_rangetblentry;
31 }                               ParseState;
32
33
34 #endif                                                  /* PARSE_QUERY_H */