2008-10-04 23:56:55 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* parse_cte.h
|
|
|
|
* handle CTEs (common table expressions) in parser
|
|
|
|
*
|
|
|
|
*
|
2015-01-06 17:43:47 +01:00
|
|
|
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
|
2008-10-04 23:56:55 +02:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2010-09-20 22:08:53 +02:00
|
|
|
* src/include/parser/parse_cte.h
|
2008-10-04 23:56:55 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PARSE_CTE_H
|
|
|
|
#define PARSE_CTE_H
|
|
|
|
|
|
|
|
#include "parser/parse_node.h"
|
|
|
|
|
|
|
|
extern List *transformWithClause(ParseState *pstate, WithClause *withClause);
|
|
|
|
|
2009-09-09 05:32:52 +02:00
|
|
|
extern void analyzeCTETargetList(ParseState *pstate, CommonTableExpr *cte,
|
2010-02-26 03:01:40 +01:00
|
|
|
List *tlist);
|
2009-09-09 05:32:52 +02:00
|
|
|
|
2008-10-04 23:56:55 +02:00
|
|
|
#endif /* PARSE_CTE_H */
|