aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2016-06-21 21:52:35 -0400
committerPeter Eisentraut <peter_e@gmx.net>2016-06-21 21:52:35 -0400
commit6a9c51810f1db08de4033cbecd95a83d7b364fd1 (patch)
treed47d9f5cc5b834c4e64e2726790168b597c6f0cd /src
parent3e9df858f0de5f1a37c71f24373caf8c870f6993 (diff)
downloadpostgresql-6a9c51810f1db08de4033cbecd95a83d7b364fd1.tar.gz
postgresql-6a9c51810f1db08de4033cbecd95a83d7b364fd1.zip
Improve cleanup in rolenames test
Drop test_schema at the end, because that otherwise interferes with the collate.linux.utf8 test.
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/expected/rolenames.out1
-rw-r--r--src/test/regress/sql/rolenames.sql1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/test/regress/expected/rolenames.out b/src/test/regress/expected/rolenames.out
index a1f039422fa..6676a565eb3 100644
--- a/src/test/regress/expected/rolenames.out
+++ b/src/test/regress/expected/rolenames.out
@@ -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";
diff --git a/src/test/regress/sql/rolenames.sql b/src/test/regress/sql/rolenames.sql
index 6c831b8b9f1..56c1b98b390 100644
--- a/src/test/regress/sql/rolenames.sql
+++ b/src/test/regress/sql/rolenames.sql
@@ -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";