okbob/plpgsql_check

Postgres 14: procedure call to procedure with out parameter shows 'error:XX000:5:CALL:not enough default arguments'

M-Butter opened this issue · 5 comments

Hello Pavel,

Since Postgres 14 it is possible to create a procedure with OUT parameters (where they should be INOUT in older versions). But when I do so, plpgsql_check_function() returns message like 'error:XX000:5:CALL:not enough default arguments' on the invoking procedure. See: testcase_procedure_with_out_parameter.txt.

Regards,
Martin.

okbob commented

I didn't pull the master branch before submitting this issue. Sorry for that, I'll try to remember to do so before complaining again.

But the master branch shows another issue: it doesn't allow the usage of constants any more.
See attachment:
testcase_constant.txt.

Regards,
Martin.

okbob commented

should be fixed now (in 2.1.5), please check

Yep, you solved it.

Thanks,
Martin.

okbob commented