diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index b20d64cc05..8ef53874b3 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -2795,9 +2795,9 @@ bar otherwise, psql will exit, returning error code 3 to distinguish this case from fatal error conditions, which are reported using error code 1. In either case, - any currently running scripts (the toplevel script, if any, and any + any currently running scripts (the top-level script, if any, and any other scripts which it may have in invoked) will be terminated - immediately. If the toplevel command string contained multiple SQL + immediately. If the top-level command string contained multiple SQL commands, processing will stop with the current command.