2007-06-24 00:12:52 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* parse_utilcmd.h
|
|
|
|
* parse analysis for utility commands
|
|
|
|
*
|
|
|
|
*
|
2014-01-07 22:05:30 +01:00
|
|
|
* Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group
|
2007-06-24 00:12:52 +02:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2010-09-20 22:08:53 +02:00
|
|
|
* src/include/parser/parse_utilcmd.h
|
2007-06-24 00:12:52 +02: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 22:14:46 +01:00
|
|
|
const char *queryString);
|
2007-06-24 00:12:52 +02:00
|
|
|
extern IndexStmt *transformIndexStmt(IndexStmt *stmt, const char *queryString);
|
|
|
|
extern void transformRuleStmt(RuleStmt *stmt, const char *queryString,
|
2007-11-15 22:14:46 +01:00
|
|
|
List **actions, Node **whereClause);
|
2007-06-24 00:12:52 +02:00
|
|
|
extern List *transformCreateSchemaStmt(CreateSchemaStmt *stmt);
|
|
|
|
|
|
|
|
#endif /* PARSE_UTILCMD_H */
|