2008-10-04 23:56:55 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* parse_cte.h
|
|
|
|
* handle CTEs (common table expressions) in parser
|
|
|
|
*
|
|
|
|
*
|
2010-01-02 17:58:17 +01:00
|
|
|
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
|
2008-10-04 23:56:55 +02:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2010-01-02 17:58:17 +01:00
|
|
|
* $PostgreSQL: pgsql/src/include/parser/parse_cte.h,v 1.4 2010/01/02 16:58:07 momjian Exp $
|
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,
|
|
|
|
List *tlist);
|
|
|
|
|
2008-10-04 23:56:55 +02:00
|
|
|
#endif /* PARSE_CTE_H */
|