Appearance
CALL
Execute a stored procedure.
CALL procedure( [ argvalue [, ...] ] )For example, call a procedure that has no arguments:
premdb=# call proc1();
CALLThe empty parentheses are required.
If the procedure was created with arguments, call the procedure with appropriate values for those arguments. For example, the procedure addteam has one VARCHAR argument:
premdb=# call addteam('Brighton');
CALLIf the procedure was created with arguments that have default values, you can call the procedure with empty parentheses. The default values will be used.
See also CREATE PROCEDURE.