00001 /*------------------------------------------------------------------------- 00002 * 00003 * parse_utilcmd.h 00004 * parse analysis for utility commands 00005 * 00006 * 00007 * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group 00008 * Portions Copyright (c) 1994, Regents of the University of California 00009 * 00010 * src/include/parser/parse_utilcmd.h 00011 * 00012 *------------------------------------------------------------------------- 00013 */ 00014 #ifndef PARSE_UTILCMD_H 00015 #define PARSE_UTILCMD_H 00016 00017 #include "parser/parse_node.h" 00018 00019 00020 extern List *transformCreateStmt(CreateStmt *stmt, const char *queryString); 00021 extern List *transformAlterTableStmt(AlterTableStmt *stmt, 00022 const char *queryString); 00023 extern IndexStmt *transformIndexStmt(IndexStmt *stmt, const char *queryString); 00024 extern void transformRuleStmt(RuleStmt *stmt, const char *queryString, 00025 List **actions, Node **whereClause); 00026 extern List *transformCreateSchemaStmt(CreateSchemaStmt *stmt); 00027 00028 #endif /* PARSE_UTILCMD_H */