You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
createfunctionraise_blah() returns void
language plpgsql
as $$
begin
raise INFO 'Blah-1';
raise 'Blah-2';
raise DEBUG 'Blah-3';
raise LOG 'Blah-4';
raise NOTICE 'Blah-5';
raise WARNING 'Blah-6';
end
$$;
This is kind of an odd test-case, I think. The second raise will throw an error, so stop execution of that block - so none of the others will be executed. Wouldn't it be better if that breaking raise came last? Would any of the others result in log output, too?
createfunctionraise_blah() returns void
language plpgsql
as $$
begin
raise INFO 'Blah-1';
raise DEBUG 'Blah-3';
raise LOG 'Blah-4';
raise NOTICE 'Blah-5';
raise WARNING 'Blah-6';
raise 'Blah-2';
end
$$;
alter role postgrest_test_authenticator set client_min_messages to DEBUG5;
Problem
Doing:
Results in this:
It doesn't matter if
client_min_messages
is set:alter role postgrest_test_authenticator set client_min_messages to WARNING;
Because:
All of this PostgREST behavior is undocumented.
Solution
Document it.
Notes
The text was updated successfully, but these errors were encountered: