Skip to content

Commit b9ac5f0

Browse files
authored
Merge pull request IvorySQL#1207 from Data-Bene/upstream/compilefunctionstmt-cmdtag
Initialize fallback command tag for CompileFunctionStmt
2 parents f3cf9b3 + 32c9cf2 commit b9ac5f0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/backend/tcop/utility.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2748,6 +2748,8 @@ CreateCommandTag(Node *parsetree)
27482748
tag = CMDTAG_ALTER_PROCEDURE;
27492749
else if (((CompileFunctionStmt *) parsetree)->objtype == OBJECT_FUNCTION)
27502750
tag = CMDTAG_ALTER_FUNCTION;
2751+
else
2752+
tag = CMDTAG_UNKNOWN;
27512753
break;
27522754

27532755
case T_GrantStmt:

0 commit comments

Comments
 (0)