]> granicus.if.org Git - postgresql/blob - src/include/parser/parse_state.h
Another PGINDENT run that changes variable indenting and case label indenting. Also...
[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.7 1997/09/08 02:38:15 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 */