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

#2497 PG: view/mview DDL fix

上级 e5011ea8
......@@ -96,12 +96,8 @@ public class PostgreViewManager extends SQLObjectEditor<PostgreTableBase, Postgr
protected void createOrReplaceViewQuery(List<DBEPersistAction> actions, PostgreViewBase view)
{
StringBuilder decl = new StringBuilder(200);
decl.append("CREATE OR REPLACE VIEW ").append(view.getFullyQualifiedName(DBPEvaluationContext.DDL))
.append("\nAS ").append(view.getSource()); //$NON-NLS-1$
actions.add(
new SQLDatabasePersistAction("Create view", decl.toString()));
new SQLDatabasePersistAction("Create view", view.getSource()));
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册