PostgreSQL Source Code git master
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-2025, 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
19struct AttrMap; /* avoid including attmap.h here */
20
21
22extern List *transformCreateStmt(CreateStmt *stmt, const char *queryString);
24 const char *queryString,
25 List **beforeStmts,
26 List **afterStmts);
28 const char *queryString);
30 const char *queryString);
31extern void transformRuleStmt(RuleStmt *stmt, const char *queryString,
32 List **actions, Node **whereClause);
34 const char *schemaName);
36 PartitionBoundSpec *spec);
37extern List *expandTableLikeClause(RangeVar *heapRel,
38 TableLikeClause *table_like_clause);
40 Relation source_idx,
41 const struct AttrMap *attmap,
42 Oid *constraintOid);
43
44#endif /* PARSE_UTILCMD_H */
#define stmt
Definition: indent_codes.h:59
List * transformCreateStmt(CreateStmt *stmt, const char *queryString)
IndexStmt * transformIndexStmt(Oid relid, IndexStmt *stmt, const char *queryString)
List * transformCreateSchemaStmtElements(List *schemaElts, const char *schemaName)
IndexStmt * generateClonedIndexStmt(RangeVar *heapRel, Relation source_idx, const struct AttrMap *attmap, Oid *constraintOid)
void transformRuleStmt(RuleStmt *stmt, const char *queryString, List **actions, Node **whereClause)
AlterTableStmt * transformAlterTableStmt(Oid relid, AlterTableStmt *stmt, const char *queryString, List **beforeStmts, List **afterStmts)
List * expandTableLikeClause(RangeVar *heapRel, TableLikeClause *table_like_clause)
CreateStatsStmt * transformStatsStmt(Oid relid, CreateStatsStmt *stmt, const char *queryString)
PartitionBoundSpec * transformPartitionBound(ParseState *pstate, Relation parent, PartitionBoundSpec *spec)
unsigned int Oid
Definition: postgres_ext.h:32
Definition: attmap.h:35
Definition: pg_list.h:54
Definition: nodes.h:129