PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
parse_utilcmd.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * parse_utilcmd.h
4  * parse analysis for utility commands
5  *
6  *
7  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/parser/parse_utilcmd.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef PARSE_UTILCMD_H
15 #define PARSE_UTILCMD_H
16 
17 #include "parser/parse_node.h"
18 
19 
20 extern List *transformCreateStmt(CreateStmt *stmt, const char *queryString);
21 extern List *transformAlterTableStmt(Oid relid, AlterTableStmt *stmt,
22  const char *queryString);
23 extern IndexStmt *transformIndexStmt(Oid relid, IndexStmt *stmt,
24  const char *queryString);
25 extern void transformRuleStmt(RuleStmt *stmt, const char *queryString,
26  List **actions, Node **whereClause);
28 extern Node *transformPartitionBound(ParseState *pstate, Relation parent,
29  Node *bound);
30 
31 #endif /* PARSE_UTILCMD_H */
Node * transformPartitionBound(ParseState *pstate, Relation parent, Node *bound)
Definition: nodes.h:520
unsigned int Oid
Definition: postgres_ext.h:31
List * transformAlterTableStmt(Oid relid, AlterTableStmt *stmt, const char *queryString)
IndexStmt * transformIndexStmt(Oid relid, IndexStmt *stmt, const char *queryString)
List * transformCreateSchemaStmt(CreateSchemaStmt *stmt)
List * transformCreateStmt(CreateStmt *stmt, const char *queryString)
void transformRuleStmt(RuleStmt *stmt, const char *queryString, List **actions, Node **whereClause)
Definition: pg_list.h:45