Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0845264

Browse files
committed
Make rowsecurity test clean up after itself, too.
Leaving global objects like roles hanging around is bad practice.
1 parent58af84f commit0845264

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

‎src/test/regress/expected/rowsecurity.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/rowsecurity.sql

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp