CALL - invoke a procedure
CALL name ( [ argument ] [, ...] )
executes a procedure.
If the procedure has any output parameters, then a result row will be returned,
containing the values of those parameters.
The name (optionally schema-qualified) of the
An input argument for the procedure call. See
Section 4.3 for the full details on function and procedure call syntax,
including use of named parameters.
The user must have EXECUTE privilege on the procedure in order to be allowed to
To call a function (not a procedure), use SELECT
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
conforms to the SQL standard.
CREATE PROCEDURE ( CREATE_PROCEDURE