By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Help with an interesting Postgres question: Why isn't an Index Only Scan used on a partition accessed via the parent table?.
ERROR: my_func(integer) is not a procedure
LINE 1: CALL my_func(33)
^
HINT: To call a function, use SELECT.
QUERY: CALL my_func(33)
CONTEXT: PL/pgSQL function inline_code_block line 3 at CALL
ERROR: my_proc(integer) is a procedure
LINE 1: SELECT my_proc(66)
^
HINT: To call a procedure, use CALL.
QUERY: SELECT my_proc(66)
CONTEXT: PL/pgSQL function inline_code_block line 3 at PERFORM