© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
13 replies
jon.m

Exploring Postgres Logs For Raise Notice

I'm trying to test function logic using raise notice, but I'm having a hard time locating where these logs are printed in the supabase dashboard. I've tried this code in the query editor and then viewed database > logs >postgres , but nothing appears.

do $$
begin
   for counter in reverse 5..1 loop
      raise notice 'counter: %', counter;
   end loop;
end; $$
do $$
begin
   for counter in reverse 5..1 loop
      raise notice 'counter: %', counter;
   end loop;
end; $$
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

`raise notice` doesn't show up in Postgres logs using CLI?
SupabaseSSupabase / help-and-questions
3y ago
Where do I find 'raise notice' messages?
SupabaseSSupabase / help-and-questions
4y ago
Notices for plpgsql
SupabaseSSupabase / help-and-questions
4y ago
Logs for database changes
SupabaseSSupabase / help-and-questions
13mo ago