Don't leave regress_test_role_super lying around.

Fixes an oversight in commit fc6d1006bda783cc002c61a5f072905849dbde4b.

Noted by Tom Lane.
This commit is contained in:
Robert Haas 2011-12-15 18:45:02 -05:00
parent f6835ea90a
commit d039fd51f7
2 changed files with 2 additions and 0 deletions

View 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

View 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;