File tree 2 files changed +32
-7
lines changed
2 files changed +32
-7
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,20 @@ SELECT * FROM pg_authid WHERE rolname = 'test_bypassrls';
230
230
test_bypassrls | f | t | f | f | f | f | t | -1 | |
231
231
(1 row)
232
232
233
- -- remove the one role with LOGIN rights
233
+ -- clean up roles
234
+ DROP ROLE test_def_superuser;
235
+ DROP ROLE test_superuser;
236
+ DROP ROLE test_def_inherit;
237
+ DROP ROLE test_inherit;
238
+ DROP ROLE test_def_createrole;
239
+ DROP ROLE test_createrole;
240
+ DROP ROLE test_def_createdb;
241
+ DROP ROLE test_createdb;
242
+ DROP ROLE test_def_role_canlogin;
234
243
DROP ROLE test_role_canlogin;
235
- -- other roles not removed to test pg_dumpall role dump through
236
- -- pg_upgrade
244
+ DROP USER test_def_user_canlogin;
245
+ DROP USER test_user_canlogin;
246
+ DROP ROLE test_def_replication;
247
+ DROP ROLE test_replication;
248
+ DROP ROLE test_def_bypassrls;
249
+ DROP ROLE test_bypassrls;
Original file line number Diff line number Diff line change @@ -78,8 +78,20 @@ SELECT * FROM pg_authid WHERE rolname = 'test_bypassrls';
78
78
ALTER ROLE test_bypassrls WITH BYPASSRLS;
79
79
SELECT * FROM pg_authid WHERE rolname = ' test_bypassrls' ;
80
80
81
- -- remove the one role with LOGIN rights
81
+ -- clean up roles
82
+ DROP ROLE test_def_superuser;
83
+ DROP ROLE test_superuser;
84
+ DROP ROLE test_def_inherit;
85
+ DROP ROLE test_inherit;
86
+ DROP ROLE test_def_createrole;
87
+ DROP ROLE test_createrole;
88
+ DROP ROLE test_def_createdb;
89
+ DROP ROLE test_createdb;
90
+ DROP ROLE test_def_role_canlogin;
82
91
DROP ROLE test_role_canlogin;
83
-
84
- -- other roles not removed to test pg_dumpall role dump through
85
- -- pg_upgrade
92
+ DROP USER test_def_user_canlogin;
93
+ DROP USER test_user_canlogin;
94
+ DROP ROLE test_def_replication;
95
+ DROP ROLE test_replication;
96
+ DROP ROLE test_def_bypassrls;
97
+ DROP ROLE test_bypassrls;
You can’t perform that action at this time.
0 commit comments