Remember to drop roles created by regression tests.

Commit e3920ac82 created "regress_subscription_user2" in subscription.sql,
but forgot to drop it, causing the regression tests to fail if run twice
without re-initdb'ing.
This commit is contained in:
Tom Lane 2017-03-25 17:25:28 -04:00
parent cf366e97ff
commit 2cdc1389a2
2 changed files with 2 additions and 0 deletions

View File

@ -119,4 +119,5 @@ DROP SUBSCRIPTION testsub NODROP SLOT; -- fail
ERROR: subscription "testsub" does not exist
RESET SESSION AUTHORIZATION;
DROP ROLE regress_subscription_user;
DROP ROLE regress_subscription_user2;
DROP ROLE regress_subscription_user_dummy;

View File

@ -92,4 +92,5 @@ DROP SUBSCRIPTION testsub NODROP SLOT; -- fail
RESET SESSION AUTHORIZATION;
DROP ROLE regress_subscription_user;
DROP ROLE regress_subscription_user2;
DROP ROLE regress_subscription_user_dummy;