We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e29755 commit fb1537aCopy full SHA for fb1537a
crates/pgt_test_utils/testdb_migrations/0001_setup-roles.sql
@@ -3,20 +3,29 @@ begin
3
4
begin
5
create role owner superuser createdb login bypassrls;
6
-exception when duplicate_object then
7
- null;
+exception
+ when duplicate_object then
8
+ null;
9
+ when unique_violation then
10
11
end;
12
13
14
create role test_login login;
15
16
17
18
19
20
21
22
23
create role test_nologin;
24
25
26
27
28
29
30
31
end
0 commit comments