From: Tom Lane <tgl@sss.pgh.pa.us>
To: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-novice@postgresql.org
Subject: Re: Psql & Readline
Date: Sat, 16 Feb 2002 12:40:48 -0500
Message-ID: <20316.1013881248@sss.pgh.pa.us> (raw)
In-Reply-To: <web-695827@davinci.ethosmedia.com>
References: <web-695827@davinci.ethosmedia.com>
"Josh Berkus" <josh@agliodbs.com> writes:
> On one of my machines, psql will not allow me to use tab-completion
> and
> the "up" key to repeat commands. On other machines, this was because
> I didn't have the "readline" library installed. However, this machine
> does have it. What else am I missing?
Did you build PG from source on that machine? If so, I'll bet that
configure didn't find libreadline. You could check this by seeing if
the psql executable references libreadline (try "ldd", or local
equivalent, eg "chatr" on HPUX).
The most common cause of this situation is that you installed the
libreadline RPM but not the libreadline-devel RPM. You need both
to build a readline-using app from source.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, josh@agliodbs.com, pgsql-novice@postgresql.org
Subject: Re: Psql & Readline
In-Reply-To: <20316.1013881248@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox