This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the
currentversion, or one of the other supported versions listed above instead.
CALLCALL — invoke a procedure
SynopsisCALLDescriptionname
( [argument
] [, ...] )
CALL
executes a procedure.
If the procedure has any output parameters, then a result row will be returned, containing the values of those parameters.
Parametersname
The name (optionally schema-qualified) of the procedure.
argument
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 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 Section 42.6.3.
CALL do_db_maintenance();Compatibility
CALL
conforms to the SQL standard.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4