Skip to content

Instantly share code, notes, and snippets.

@baran
Created May 23, 2022 05:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baran/95f06f82eb20bf004214df1978395f10 to your computer and use it in GitHub Desktop.
Save baran/95f06f82eb20bf004214df1978395f10 to your computer and use it in GitHub Desktop.
Postgresql debug log
RAISE INFO 'Print the message of information %', now() ;
RAISE LOG 'Print the message of log %', now();
RAISE DEBUG 'Print the message of debug %', now();
RAISE WARNING 'Print the message of warning %', now();
RAISE NOTICE 'Print the message of notice %', now();
RAISE EXCEPTION 'Print the message of exception %', now();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment