RefLib

Reference library for AI

Back

postgresql_16:7.1.46.3 Notes

PostgreSQL 16 > Reference > SQL Commands > CALL > Notes

The user must have EXECUTE privilege on the procedure in order to be allowed to invoke it.

To call a function (not a procedure), use SELECT instead.

If CALL is executed in a transaction block, then the called procedure cannot execute transaction control statements. Transaction control statements are only allowed if CALL is executed in its own transaction.

PL/pgSQL handles output parameters in CALL commands differently; see (see postgresql_16:6.6.6.3).

Back