新增CREATE USER IF NOT EXISTS语法

This commit is contained in:
luozihao
2022-10-26 14:21:33 +08:00
parent 9b6d81382c
commit b426dc4842
9 changed files with 37 additions and 3 deletions

View File

@ -1075,6 +1075,7 @@ typedef struct CreateRoleStmt {
RoleStmtType stmt_type; /* ROLE/USER/GROUP */
char* role; /* role name */
List* options; /* List of DefElem nodes */
bool missing_ok; /* skip error if a role is exists */
} CreateRoleStmt;
/* ----------------------