提交 c794b1f9 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 acdaf42b
...@@ -99,6 +99,8 @@ public class DropDatabase extends DefineCommand { ...@@ -99,6 +99,8 @@ public class DropDatabase extends DefineCommand {
} }
list = db.getAllRights(); list = db.getAllRights();
list.addAll(db.getAllFunctionAliases()); list.addAll(db.getAllFunctionAliases());
list.addAll(db.getAllAggregates());
list.addAll(db.getAllUserDataTypes());
for (int i = 0; i < list.size(); i++) { for (int i = 0; i < list.size(); i++) {
DbObject obj = (DbObject) list.get(i); DbObject obj = (DbObject) list.get(i);
String sql = obj.getCreateSQL(); String sql = obj.getCreateSQL();
......
...@@ -512,9 +512,8 @@ CREATE ALIAS MY_SQRT ...@@ -512,9 +512,8 @@ CREATE ALIAS MY_SQRT
"Commands (DDL)","DROP ALL OBJECTS"," "Commands (DDL)","DROP ALL OBJECTS","
DROP ALL OBJECTS [DELETE FILES] DROP ALL OBJECTS [DELETE FILES]
"," ","
Drops all existing views, tables, sequences, Drops all existing views, tables, sequences, schemas, function aliases, roles,
schemas, function aliases, roles user defined aggregate functions, domains, and users (except the current user).
and users (except the current user).
If DELETE FILES is specified, the database files will be If DELETE FILES is specified, the database files will be
removed when the last user disconnects from the database. removed when the last user disconnects from the database.
Warning: This command can not be rolled back. Warning: This command can not be rolled back.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论