GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CALL(7) PostgreSQL 11.1 Documentation CALL(7)

CALL - invoke a procedure

CALL  name ( [ 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.

name
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 43.6.3.

CALL do_db_maintenance();

CALL conforms to the SQL standard.

CREATE PROCEDURE ( CREATE_PROCEDURE(7))
2018 PostgreSQL 11.1

Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.