PL/PGSQL Errors and Messages

Types:

  • DEBUG
  • LOG
  • NOTICE
  • INFO
  • WARNING
  • EXCEPTION

Syntax:

RAISE level format;

Example:

DO $$
BEGIN
RAISE INFO 'information message %', now() ;
RAISE LOG 'log message %', now();
RAISE DEBUG 'debug message %', now();
RAISE WARNING 'warning message %', now();
RAISE NOTICE 'notice message %', now();
END $$;


Comments

Popular posts from this blog

Oracle Database 19C Performance Tunning - PART 1

Oracle Patching Using Opatch Utility

Oracle RMAN Backup And Restore

PostgreSQL Opensource Installation in RHEL or Oracle Linux(OEL) 8 and above

Pg_pool-II Installation and Configuration