info > Call

CALL(7) — PostgreSQL 14.23 Documentation

📛 NAME

CALL — invoke a procedure

🚀 Quick Reference

Use Case Command Description
Invoke a procedure CALL procedure_name(args); Execute a procedure in PostgreSQL.
Call procedure with named arguments CALL procedure_name(param => value); Use named parameter syntax for clarity.
Call procedure with OUT parameters CALL procedure_name(NULL, ...); Supply NULL for OUT parameters as they are not evaluated.

📝 SYNOPSIS

CALL name ( [ argument ] [, ...] )

📖 DESCRIPTION

CALL executes a procedure.

If the procedure has any output parameters, then a result row will be returned, containing the values of those parameters.

⚙️ PARAMETERS

📛 name

The name (optionally schema-qualified) of the procedure.

📥 argument

An argument expression for the procedure call.

📌 NOTES

💡 EXAMPLES

CALL do_db_maintenance();

🌐 COMPATIBILITY

CALL conforms to the SQL standard, except for the handling of output parameters. The standard says that users should write variables to receive the values of output parameters.

📚 SEE ALSO

CREATE PROCEDURE (7)

PostgreSQL 14.23 2026 CALL(7)

Call
CALL(7) — PostgreSQL 14.23 Documentation 📛 NAME 🚀 Quick Reference 📝 SYNOPSIS 📖 DESCRIPTION ⚙️ PARAMETERS
📛 name 📥 argument
📌 NOTES 💡 EXAMPLES 🌐 COMPATIBILITY 📚 SEE ALSO

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-16 09:43 @2600:1f28:365:80b0:7cb9:fb:26c1:e368
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!