Change error message and add beginnings of sql tests (#4319)
This commit is contained in:
1 parent
36c57cb918
commit
025fce6f95
2 files changed
+140
-1
No files matched your search
@@ -80,7 +80,7 @@ begin;
|
||||
where rgs.role_id = new.role_id and rgs.scope_id_or_special = role_scope_id
|
||||
into existing_scope_id_or_special;
|
||||
if existing_scope_id_or_special is not null then
|
||||
raise exception 'invalid to specify both "this" and a role''s actual scope id as a grant scope';
|
||||
raise exception 'invalid to specify both a role''s actual scope id and "this" as a grant scope';
|
||||
end if;
|
||||
return new;
|
||||
end if;
|
||||
|
||||
Reference in new issue
Block a user