diff --git a/doc/src/sgml/ref/pg_restore.sgml b/doc/src/sgml/ref/pg_restore.sgml
index f14e5866f6c..0ba68ad5305 100644
--- a/doc/src/sgml/ref/pg_restore.sgml
+++ b/doc/src/sgml/ref/pg_restore.sgml
@@ -55,7 +55,7 @@ PostgreSQL documentation
If a database name is specified, pg_restore
connects to that database and restores archive contents directly into
the database.
- When restoring from a dump made bypg_dumpall,
+ When restoring from a dump made by pg_dumpall,
each database will be created and then the restoration will be run in that
database.