On Mon, May 14, 2018 at 11:11:36AM +0300, Liudmila Mantrova wrote: > Hi, > > One of the new examples in backup.sgml seems to be missing a couple of > <replaceable> tags. A trivial patch is attached.
> diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml > index 349834c..982776c 100644 > --- a/doc/src/sgml/backup.sgml > +++ b/doc/src/sgml/backup.sgml > @@ -141,7 +141,7 @@ psql <replaceable class="parameter">dbname</replaceable> > < <replaceable class > behavior and have <application>psql</application> exit with an > exit status of 3 if an SQL error occurs: > <programlisting> > -psql --set ON_ERROR_STOP=on dbname < dumpfile > +psql --set ON_ERROR_STOP=on <replaceable>dbname</replaceable> < > <replaceable>dumpfile</replaceable> > </programlisting> > Either way, you will only have a partially restored database. > Alternatively, you can specify that the whole dump should be Actually, the missing 'replaceable' problem goes back to at least 9.3, so backpatched through that release. Thanks. -- Bruce Momjian <br...@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +