提交 e65e26f8 编写于 作者: L LonwoLonwo

#4644 DDL creation changed

上级 b3456315
......@@ -408,13 +408,13 @@ public abstract class PostgreServerExtensionBase implements PostgreServerExtensi
}
if (!CommonUtils.isEmpty(extraOptions)) {
withClauseBuilder.append("\nWITH (\n\t");
withClauseBuilder.append("\nWITH (");
for (int i = 0; i < extraOptions.size(); i++) {
if (i == 0) {
withClauseBuilder.append(extraOptions.get(i));
} else {
withClauseBuilder.append(",\n\t").append(extraOptions.get(i));
if (i > 0) {
withClauseBuilder.append(",");
}
withClauseBuilder.append("\n\t");
withClauseBuilder.append(extraOptions.get(i));
}
withClauseBuilder.append("\n)");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册