aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_state.h
blob: 6ea7219e6bff85dc1451956408426687e7f89144 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*-------------------------------------------------------------------------
 *
 * parse_state.h--
 *
 * Copyright (c) 1994, Regents of the University of California
 *
 * $Id: parse_state.h,v 1.1.1.1 1996/07/09 06:21:40 scrappy Exp $
 *
 *-------------------------------------------------------------------------
 */

#ifndef PARSE_STATE_H
#define PARSE_STATE_H

/* state information used during parse analysis */
typedef struct ParseState {
    int 	p_last_resno; 
    List 	*p_target_resnos;
    Relation 	parser_current_rel;
    List 	*p_rtable;
    int 	p_query_is_rule;
    int		p_numAgg;
    List	*p_aggs;
} ParseState;


#endif /*PARSE_QUERY_H*/