2007-06-23 18:12:52 -04:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
|
|
|
|
* parse_utilcmd.h
|
|
|
|
|
* parse analysis for utility commands
|
|
|
|
|
*
|
|
|
|
|
*
|
2012-01-01 18:01:58 -05:00
|
|
|
* Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group
|
2007-06-23 18:12:52 -04:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
|
*
|
2010-09-20 16:08:53 -04:00
|
|
|
* src/include/parser/parse_utilcmd.h
|
2007-06-23 18:12:52 -04:00
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
#ifndef PARSE_UTILCMD_H
|
|
|
|
|
#define PARSE_UTILCMD_H
|
|
|
|
|
|
|
|
|
|
#include "parser/parse_node.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extern List *transformCreateStmt(CreateStmt *stmt, const char *queryString);
|
|
|
|
|
extern List *transformAlterTableStmt(AlterTableStmt *stmt,
|
2007-11-15 16:14:46 -05:00
|
|
|
const char *queryString);
|
2007-06-23 18:12:52 -04:00
|
|
|
extern IndexStmt *transformIndexStmt(IndexStmt *stmt, const char *queryString);
|
|
|
|
|
extern void transformRuleStmt(RuleStmt *stmt, const char *queryString,
|
2007-11-15 16:14:46 -05:00
|
|
|
List **actions, Node **whereClause);
|
2007-06-23 18:12:52 -04:00
|
|
|
extern List *transformCreateSchemaStmt(CreateSchemaStmt *stmt);
|
|
|
|
|
|
|
|
|
|
#endif /* PARSE_UTILCMD_H */
|