diff --git a/doc/src/sgml/ref/pg_restore.sgml b/doc/src/sgml/ref/pg_restore.sgml
index b6de497aee18..d1fcd6241fba 100644
--- a/doc/src/sgml/ref/pg_restore.sgml
+++ b/doc/src/sgml/ref/pg_restore.sgml
@@ -159,6 +159,10 @@ PostgreSQL documentation
CREATE DATABASE commands. All data is restored into the
database name that appears in the archive.
+
+
+ This option cannot be used with .
+
@@ -664,7 +668,8 @@ PostgreSQL documentation
emitted commands in BEGIN/COMMIT). This
ensures that either all the commands complete successfully, or no
changes are applied. This option implies
- .
+ . This option cannot be used with
+ .