]> granicus.if.org Git - postgresql/commitdiff
Escape greater than and less than characters in docs.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sat, 2 Apr 2011 14:06:43 +0000 (17:06 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sat, 2 Apr 2011 14:08:06 +0000 (17:08 +0300)
Susanne Ebrecht and me

doc/src/sgml/ref/pg_basebackup.sgml
doc/src/sgml/sepgsql.sgml

index bbca5f513c486e5a2d00644cadb58b30f529d2dc..382effdaa3942e414ec22ffc9a634c01f0ac3c60 100644 (file)
@@ -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)
index 21b46dee62b7fc19616084aab2e769f38bf1663d..589fe79d51fbb286f8c12a76a2b0c524b1f7a021 100644 (file)
@@ -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>