test: notify do nothing

This commit is contained in:
steve-chavez
2024-03-19 13:22:51 +03:30
committed by Steve Chavez
parent ee8b3ef8fe
commit 941ea0f929
5 changed files with 41 additions and 1 deletions
+4
View File
@@ -89,6 +89,10 @@ begin
perform pg_notify('pgrst', 'reload config');
end $_$ volatile security definer language plpgsql ;
create function notify_do_nothing() returns void as $_$
notify pgrst, 'nothing';
$_$ language sql;
create function reset_invalid_role_claim_key() returns void as $_$
begin
alter role postgrest_test_authenticator reset pgrst.jwt_role_claim_key;