From 3ebc6d295705fec37dc8f57a4ece54b370f55f72 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 10 Mar 2021 10:59:48 -0500 Subject: [PATCH] Doc: fix missing mention of procedure OUT parameters. Small oversight in commit 2453ea142. --- doc/src/sgml/plpgsql.sgml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 9d41967ad3a..9242c54329d 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -1959,7 +1959,8 @@ SELECT * FROM get_available_flightid(CURRENT_DATE); or DO block can call a procedure using CALL. Output parameters are handled differently from the way that CALL works in plain - SQL. Each INOUT parameter of the procedure must + SQL. Each OUT or INOUT + parameter of the procedure must correspond to a variable in the CALL statement, and whatever the procedure returns is assigned back to that variable after it returns. For example: -- 2.39.5