提交 14de5a0b 编写于 作者: S serge-rider

#3205 PostgreSQL: schema DDL fix


Former-commit-id: 0cc8ecca
上级 58f4a591
...@@ -353,9 +353,9 @@ public class PostgreSchema implements DBSSchema, DBPNamedObject2, DBPSaveableObj ...@@ -353,9 +353,9 @@ public class PostgreSchema implements DBSSchema, DBPNamedObject2, DBPSaveableObj
if (owner != null) { if (owner != null) {
sql.append(" AUTHORIZATION ").append(DBUtils.getQuotedIdentifier(owner)); sql.append(" AUTHORIZATION ").append(DBUtils.getQuotedIdentifier(owner));
} }
sql.append(";\n\n"); sql.append(";\n");
if (!CommonUtils.isEmpty(getDescription())) { if (!CommonUtils.isEmpty(getDescription())) {
sql.append("COMMENT ON SCHEMA ").append(DBUtils.getQuotedIdentifier(this)) sql.append("\nCOMMENT ON SCHEMA ").append(DBUtils.getQuotedIdentifier(this))
.append(" IS ").append(SQLUtils.quoteString(this, getDescription())); .append(" IS ").append(SQLUtils.quoteString(this, getDescription()));
} }
return sql.toString(); return sql.toString();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册