Re: Psql & Readline

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Psql & Readline
Дата
Msg-id 20316.1013881248@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Psql & Readline  ("Josh Berkus" <josh@agliodbs.com>)
Список 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 по дате отправления:

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Psql & Readline
Следующее
От: "Patrick Hatcher"
Дата:
Сообщение: Updated to 7.2 now can't createlang..