PostgreSQL - Advanced PL/pgSQL
Given this block:
What will be the output?
DO $$
BEGIN
PERFORM 10 / 0;
EXCEPTION
WHEN division_by_zero THEN
RAISE NOTICE 'Handled division by zero error';
WHEN OTHERS THEN
RAISE NOTICE 'Other error caught';
END $$;What will be the output?
