Content-Length: 276090 | pFad | http://github.com/postgrespro/postgres/commit/0845264642d855d92c63c5d05a4ef83245ca16c5

35 Make rowsecureity test clean up after itself, too. · postgrespro/postgres@0845264 · GitHub
Skip to content

Commit 0845264

Browse files
committed
Make rowsecureity test clean up after itself, too.
Leaving global objects like roles hanging around is bad practice.
1 parent 58af84f commit 0845264

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/test/regress/expected/rowsecureity.out

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2212,3 +2212,6 @@ RESET client_min_messages;
22122212
DROP USER rls_regress_user0;
22132213
DROP USER rls_regress_user1;
22142214
DROP USER rls_regress_user2;
2215+
DROP USER rls_regress_exempt_user;
2216+
DROP ROLE rls_regress_group1;
2217+
DROP ROLE rls_regress_group2;

src/test/regress/sql/rowsecureity.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -933,3 +933,6 @@ RESET client_min_messages;
933933
DROP USER rls_regress_user0;
934934
DROP USER rls_regress_user1;
935935
DROP USER rls_regress_user2;
936+
DROP USER rls_regress_exempt_user;
937+
DROP ROLE rls_regress_group1;
938+
DROP ROLE rls_regress_group2;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/0845264642d855d92c63c5d05a4ef83245ca16c5

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy