diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml index 21ad34f4e0..15c8cdb8aa 100644 --- a/doc/src/sgml/backup.sgml +++ b/doc/src/sgml/backup.sgml @@ -106,7 +106,7 @@ pg_dump dbname > Text files created by pg_dump are intended to - be read in by the psql program with its default + be read in by the psql program using its default settings. The general command form to restore a dump is psql --no-psqlrc dbname < dumpfile diff --git a/doc/src/sgml/ref/pg_dumpall.sgml b/doc/src/sgml/ref/pg_dumpall.sgml index 9208387ec1..636c27fe17 100644 --- a/doc/src/sgml/ref/pg_dumpall.sgml +++ b/doc/src/sgml/ref/pg_dumpall.sgml @@ -823,8 +823,8 @@ exclude database PATTERN when restoring a database from a pg_dumpall script to ensure a clean restore process and prevent potential conflicts with existing psql configurations. Additionally, - because the script includes psql meta-commands, - it is incompatible with clients other than psql. + because the script can include psql meta-commands, + it may be incompatible with clients other than psql. @@ -842,9 +842,9 @@ exclude database PATTERN To restore database(s) from this file, you can use: -$ psql --no-psqlrc -f db.out postgres +$ psql --no-psqlrc -f db.out -d postgres - It is not important to which database you connect here since the + It is not important which database you connect to here since the script file created by pg_dumpall will contain the appropriate commands to create and connect to the saved databases. An exception is that if you specified ,