From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Liudmila Mantrova <l(dot)mantrova(at)postgrespro(dot)ru> |
Cc: | pgsql-docs(at)lists(dot)postgresql(dot)org |
Subject: | Re: missing replaceable tags in backup.sgml |
Date: | 2018-05-28 18:20:55 |
Message-ID: | 20180528182055.GC5306@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)momjian(dot)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 +
From | Date | Subject | |
---|---|---|---|
Next Message | richard | 2018-05-29 07:56:37 | Re: Postgres upgrade trouble |
Previous Message | Bruce Momjian | 2018-05-28 17:48:58 | Re: Postgres upgrade trouble |