提交 054e2fa5 编写于 作者: S serge-rider

#3462 PG schema create fix (owner name quote)

上级 54122f0e
......@@ -81,7 +81,7 @@ public class PostgreSchemaManager extends SQLObjectEditor<PostgreSchema, Postgre
try {
final PostgreRole owner = schema.getOwner(new VoidProgressMonitor());
if (owner != null) {
script.append("\nAUTHORIZATION ").append(owner.getName());
script.append("\nAUTHORIZATION ").append(DBUtils.getQuotedIdentifier(owner));
}
} catch (DBException e) {
log.error(e);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册