aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-10-01 23:47:16 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-10-01 23:47:16 +0000
commit7ceec34a7302504fd7345c5615645386bd5be716 (patch)
tree84fc802b334ee494afc315269b5f556eda011010 /doc/src
parentdb2dcf58be1c15a5ce91396b3205fb982ee7a656 (diff)
downloadpostgresql-7ceec34a7302504fd7345c5615645386bd5be716.tar.gz
postgresql-7ceec34a7302504fd7345c5615645386bd5be716.zip
Improve documentation of configure's readline/libedit switches.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/installation.sgml22
1 files changed, 14 insertions, 8 deletions
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
index da9022396e5..069bb20040a 100644
--- a/doc/src/sgml/installation.sgml
+++ b/doc/src/sgml/installation.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.262 2006/09/16 00:30:14 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.263 2006/10/01 23:47:16 tgl Exp $ -->
<chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -105,6 +105,9 @@ su - postgres
<indexterm>
<primary>readline</primary>
</indexterm>
+ <indexterm>
+ <primary>libedit</primary>
+ </indexterm>
The <acronym>GNU</> <productname>Readline</> library (for
simple line editing and command history retrieval) is
@@ -866,22 +869,25 @@ su - postgres
</varlistentry>
<varlistentry>
- <term><option>--with-libedit-preferred</option></term>
+ <term><option>--without-readline</option></term>
<listitem>
<para>
- Favors the use of the BSD-licensed <application>libedit</> library
- rather than GPL-licensed <application>Readline</>.
+ Prevents use of the <application>Readline</> library
+ (and <application>libedit</> as well). This option disables
+ command-line editing and history in
+ <application>psql</application>, so it is not recommended.
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>--without-readline</option></term>
+ <term><option>--with-libedit-preferred</option></term>
<listitem>
<para>
- Prevents use of the <application>Readline</> library. This disables
- command-line editing and history in
- <application>psql</application>, so it is not recommended.
+ Favors the use of the BSD-licensed <application>libedit</> library
+ rather than GPL-licensed <application>Readline</>. This option
+ is significant only if you have both libraries installed; the
+ default in that case is to use <application>Readline</>.
</para>
</listitem>
</varlistentry>