1 /*-------------------------------------------------------------------------
2  *
3  * parse_cte.h
4  *	  handle CTEs (common table expressions) in parser
5  *
6  *
7  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/parser/parse_cte.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef PARSE_CTE_H
15 #define PARSE_CTE_H
16 
17 #include "parser/parse_node.h"
18 
19 extern List *transformWithClause(ParseState *pstate, WithClause *withClause);
20 
21 extern void analyzeCTETargetList(ParseState *pstate, CommonTableExpr *cte,
22 					 List *tlist);
23 
24 #endif							/* PARSE_CTE_H */
25