Don't leave regress_test_role_super lying around.
authorRobert Haas <[email protected]>
Thu, 15 Dec 2011 23:45:02 +0000 (18:45 -0500)
committerRobert Haas <[email protected]>
Thu, 15 Dec 2011 23:45:02 +0000 (18:45 -0500)
Fixes an oversight in commit fc6d1006bda783cc002c61a5f072905849dbde4b.

Noted by Tom Lane.

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

index 122e28532afe59140861165c33b5f50402f43ab1..2a6e8766b81c1c3cef7b3fa2ab71916b87249f29 100644 (file)
@@ -208,6 +208,7 @@ DETAIL:  owner of foreign-data wrapper foo
 SET ROLE regress_test_role_super;
 DROP FOREIGN DATA WRAPPER foo;
 RESET ROLE;
+DROP ROLE regress_test_role_super;
 \dew+
                                             List of foreign-data wrappers
     Name    |       Owner       | Handler |        Validator         | Access privileges | FDW Options | Description 
index e99e7079b1ef9b5855fbddc8a559621d777f922f..95d02d1ce129a13c4104413e3a1307438b3ac112 100644 (file)
@@ -97,6 +97,7 @@ DROP ROLE regress_test_role_super;                          -- ERROR
 SET ROLE regress_test_role_super;
 DROP FOREIGN DATA WRAPPER foo;
 RESET ROLE;
+DROP ROLE regress_test_role_super;
 \dew+
 
 CREATE FOREIGN DATA WRAPPER foo;