diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-03-10 10:59:48 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-03-10 10:59:48 -0500 |
commit | 3ebc6d295705fec37dc8f57a4ece54b370f55f72 (patch) | |
tree | ba4c1a0680a117bffa6d9a233143118b9baa4df6 | |
parent | bbaf315309ed1194d451326cc8f4f59a45906408 (diff) |
Doc: fix missing mention of procedure OUT parameters.
Small oversight in commit 2453ea142.
-rw-r--r-- | doc/src/sgml/plpgsql.sgml | 3 |
1 files changed, 2 insertions, 1 deletions
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 <command>DO</command> block can call a procedure using <command>CALL</command>. Output parameters are handled differently from the way that <command>CALL</command> works in plain - SQL. Each <literal>INOUT</literal> parameter of the procedure must + SQL. Each <literal>OUT</literal> or <literal>INOUT</literal> + parameter of the procedure must correspond to a variable in the <command>CALL</command> statement, and whatever the procedure returns is assigned back to that variable after it returns. For example: |