By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
CREATE PROCEDURE
ERROR: division by zero CONTEXT: SQL statement "INSERT INTO table1 VALUES (1/0)" PL/pgSQL function raise_error() line 3 at SQL statement SQL statement "CALL raise_error()" PL/pgSQL function inline_code_block line 4 at CALL
| col1 |
|---|
SELECT 0