]> granicus.if.org Git - postgresql/commitdiff
Remember to drop roles created by regression tests.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 25 Mar 2017 21:25:28 +0000 (17:25 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 25 Mar 2017 21:25:28 +0000 (17:25 -0400)
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.

src/test/regress/expected/subscription.out
src/test/regress/sql/subscription.sql

index 41f8def2f7f6f0122ce8018cc27a96e432990f9d..8760d5970aa5473f58d0fc449bca15bf903b515d 100644 (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;
index 2db97db2f5105f0a99dd3b1c075283c970572290..7bdc2b3503c398ea5aeaeee82a1158cc9731a9e7 100644 (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;