From 18894c401f1f5ec5af1d08a12da1f183599e8560 Mon Sep 17 00:00:00 2001
From: Andrew Dunstan <andrew@dunslane.net>
Date: Mon, 10 Aug 2009 02:39:04 +0000
Subject: [PATCH] Re-add documentation for --no-readline option of psql,
 mistakenly removed a decade ago. Backpatch to release 7.4.

---
 doc/src/sgml/ref/psql-ref.sgml | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index b3df4860e09..20f4b33c652 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.227 2009/07/25 17:04:19 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.228 2009/08/10 02:39:04 adunstan Exp $
 PostgreSQL documentation
 -->
 
@@ -240,6 +240,17 @@ PostgreSQL documentation
       </listitem>
     </varlistentry>
 
+	<varlistentry>
+      <term><option>-n</></term>
+      <term><option>--no-readline</></term>
+      <listitem>
+      <para>
+       Do not use readline for line editing and do not use the history.
+       This can be useful to turn off tab expansion when cutting and pasting.
+      </para>
+      </listitem>
+    </varlistentry>
+
     <varlistentry>
       <term><option>-o <replaceable class="parameter">filename</replaceable></></term>
       <term><option>--output <replaceable class="parameter">filename</replaceable></></term>
-- 
GitLab