By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE FUNCTION
| f | f |
|---|---|
| 42 | 77 |
SELECT 1
ERROR: function f(text) does not exist LINE 1: select f('1'::text);--explicit type cast disables coercion ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts.
CREATE FUNCTION
ERROR: MY CUSTOM MESSAGE: UNRECOGNIZED f() PARAMETER TYPES CONTEXT: PL/pgSQL function f(anycompatiblearray) line 2 at RAISE
SELECT 1
ERROR: MY CUSTOM MESSAGE: UNRECOGNIZED f() PARAMETER TYPES CONTEXT: PL/pgSQL function f(anycompatiblearray) line 2 at RAISE
ERROR: function f(unknown) is not unique LINE 2: select f('a'); ^ HINT: Could not choose a best candidate function. You might need to add explicit type casts.
ERROR: PL/pgSQL functions cannot accept type unknown
ERROR: SQL functions cannot have arguments of type unknown
ALTER FUNCTION
CREATE FUNCTION
ERROR: MY CUSTOM MESSAGE: UNRECOGNIZED f() PARAMETER TYPES CONTEXT: PL/pgSQL function f(anycompatiblearray) line 4 at RAISE
| f | f |
|---|---|
| 88 | 99 |
SELECT 1