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