diff options
Diffstat (limited to 'src/include/parser/parse_utilcmd.h')
-rw-r--r-- | src/include/parser/parse_utilcmd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/parser/parse_utilcmd.h b/src/include/parser/parse_utilcmd.h index 08dd0ce4ca7..ba3f42b04e8 100644 --- a/src/include/parser/parse_utilcmd.h +++ b/src/include/parser/parse_utilcmd.h @@ -16,7 +16,8 @@ #include "parser/parse_node.h" -typedef struct AttrMap AttrMap; +struct AttrMap; /* avoid including attmap.h here */ + extern List *transformCreateStmt(CreateStmt *stmt, const char *queryString); extern List *transformAlterTableStmt(Oid relid, AlterTableStmt *stmt, @@ -30,7 +31,7 @@ extern PartitionBoundSpec *transformPartitionBound(ParseState *pstate, Relation PartitionBoundSpec *spec); extern IndexStmt *generateClonedIndexStmt(RangeVar *heapRel, Relation source_idx, - const AttrMap *attmap, + const struct AttrMap *attmap, Oid *constraintOid); #endif /* PARSE_UTILCMD_H */ |