Re: missing replaceable tags in backup.sgml - Mailing list pgsql-docs

From Bruce Momjian
Subject Re: missing replaceable tags in backup.sgml
Date
Msg-id 20180528182055.GC5306@momjian.us
Whole thread Raw
In response to missing replaceable tags in backup.sgml  (Liudmila Mantrova <l.mantrova@postgrespro.ru>)
List pgsql-docs
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  <bruce@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 +


pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Postgres upgrade trouble
Next
From: richard@mail.sheugh.com
Date:
Subject: Re: Postgres upgrade trouble