Remove unnecessary schema name from CREATE SCHEMA stmts (#5785)

support-schema-elements-in-CreateSchemaStmt
Ahmet Gedemenli 2022-03-10 15:19:14 +03:00 committed by GitHub
parent d153c2de0d
commit 4312486141
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -110,7 +110,6 @@ AppendCreateSchemaStmt(StringInfo buf, CreateSchemaStmt *stmt)
* with the name of the authorizated user.
*/
Assert(stmt->authrole != NULL);
appendStringInfo(buf, "%s ", RoleSpecString(stmt->authrole, true));
}
if (stmt->authrole != NULL)