Added comments for AppendStatementType

pull/7204/head
gindibay 2023-09-18 22:49:21 +03:00
parent 0038dc16f1
commit b8add7699a
1 changed files with 4 additions and 0 deletions

View File

@ -237,6 +237,10 @@ AppendInlinePriviliges(StringInfo buf, ListCell *optionCell)
} }
} }
/*
* AppendStatementType generates the string representation for the statement
* type (role, user or group) in alter/create statement and appends it to the buffer.
*/
static void static void
AppendStatementType(StringInfo buf, CreateRoleStmt *stmt) AppendStatementType(StringInfo buf, CreateRoleStmt *stmt)