Re: Psql & Readline - Mailing list pgsql-novice

From Tom Lane
Subject Re: Psql & Readline
Date
Msg-id 20316.1013881248@sss.pgh.pa.us
Whole thread Raw
In response to Psql & Readline  ("Josh Berkus" <josh@agliodbs.com>)
List pgsql-novice
"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

pgsql-novice by date:

Previous
From: "Josh Berkus"
Date:
Subject: Psql & Readline
Next
From: "Patrick Hatcher"
Date:
Subject: Updated to 7.2 now can't createlang..