Improve cleanup in rolenames test

Drop test_schema at the end, because that otherwise interferes with the
collate.linux.utf8 test.
This commit is contained in:
Peter Eisentraut 2016-06-21 21:52:35 -04:00
parent 3e9df858f0
commit 6a9c51810f
2 changed files with 2 additions and 0 deletions

View File

@ -952,6 +952,7 @@ SELECT proname, proacl FROM pg_proc WHERE proname LIKE 'testagg_';
-- clean up
\c
DROP SCHEMA test_schema;
DROP OWNED BY testrol0, "Public", "current_user", testrol1, testrol2, testrolx CASCADE;
DROP ROLE testrol0, testrol1, testrol2, testrolx;
DROP ROLE "Public", "None", "current_user", "session_user", "user";

View File

@ -441,6 +441,7 @@ SELECT proname, proacl FROM pg_proc WHERE proname LIKE 'testagg_';
-- clean up
\c
DROP SCHEMA test_schema;
DROP OWNED BY testrol0, "Public", "current_user", testrol1, testrol2, testrolx CASCADE;
DROP ROLE testrol0, testrol1, testrol2, testrolx;
DROP ROLE "Public", "None", "current_user", "session_user", "user";