diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index be04f63284b..6f16b1994b0 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1,5 +1,5 @@ @@ -477,10 +477,12 @@ PostgreSQL documentation - If the script itself uses BEGIN, COMMIT - or any command that cannot be executed inside a transaction - block, specifying this option will cause the transaction to be - aborted. + If the script itself uses BEGIN, COMMIT, + or ROLLBACK, this option will not have the desired + effects. + Also, if the script contains any command that cannot be executed + inside a transaction block, specifying this option will cause that + command (and hence the whole transaction) to fail.