From d420ba2a2d4ea4831f89a3fd7ce86b05eff932ff Mon Sep 17 00:00:00 2001
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: Sat, 2 Apr 2011 17:06:43 +0300
Subject: [PATCH] Escape greater than and less than characters in docs.

Susanne Ebrecht and me
---
 doc/src/sgml/ref/pg_basebackup.sgml | 2 +-
 doc/src/sgml/sepgsql.sgml           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/src/sgml/ref/pg_basebackup.sgml b/doc/src/sgml/ref/pg_basebackup.sgml
index bbca5f513c4..382effdaa39 100644
--- a/doc/src/sgml/ref/pg_basebackup.sgml
+++ b/doc/src/sgml/ref/pg_basebackup.sgml
@@ -406,7 +406,7 @@ PostgreSQL documentation
    To create a backup of a single-tablespace local database and compress
    this with <productname>bzip2</productname>:
    <screen>
-    <prompt>$</prompt> <userinput>pg_basebackup -D - -Ft | bzip2 > backup.tar.bz2</userinput>
+    <prompt>$</prompt> <userinput>pg_basebackup -D - -Ft | bzip2 &gt; backup.tar.bz2</userinput>
    </screen>
    (this command will fail if there are multiple tablespaces in the
    database)
diff --git a/doc/src/sgml/sepgsql.sgml b/doc/src/sgml/sepgsql.sgml
index 21b46dee62b..589fe79d51f 100644
--- a/doc/src/sgml/sepgsql.sgml
+++ b/doc/src/sgml/sepgsql.sgml
@@ -105,7 +105,7 @@ $ initdb
 $ vi $PGDATA/postgresql.conf
 $ for DBNAME in template0 template1 postgres; do
   postgres --single -F -O -c exit_on_error=true $DBNAME \
-      < /usr/local/pgsql/share/contrib/sepgsql.sql > /dev/null
+      &lt; /usr/local/pgsql/share/contrib/sepgsql.sql &gt; /dev/null
   done
 </screen>
 
-- 
GitLab