missing replaceable tags in backup.sgml

Started by Liudmila Mantrovaalmost 8 years ago2 messagesdocs
Jump to latest
#1Liudmila Mantrova
l.mantrova@postgrespro.ru

Hi,

One of the new examples in backup.sgml seems to be missing a couple of
<replaceable> tags. A trivial patch is attached.

--
Liudmila Mantrova
Technical writer at Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Attachments:

backup-sgml-markup-fix.patchtext/x-patch; name=backup-sgml-markup-fix.patchDownload+1-1
#2Bruce Momjian
bruce@momjian.us
In reply to: Liudmila Mantrova (#1)
Re: missing replaceable tags in backup.sgml

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> &lt; <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 &lt; dumpfile
+psql --set ON_ERROR_STOP=on <replaceable>dbname</replaceable> &lt; <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 +