Re: psql question

Поиск
Список
Период
Сортировка
От
Тема Re: psql question
Дата
Msg-id Pine.LNX.4.30.0011232303410.2575-100000@chapelperilous.net
обсуждение исходный текст
Ответ на psql question  ("Joe Conway" <joe@conway-family.com>)
Ответы Re: psql question(actually readline etc.)  (Antti Linno <alligator@all.ee>)
Список pgsql-sql
On Sun, 19 Nov 2000, Joe Conway wrote:

> On machines where I've installed PostgreSQL 7.0.2 from RPM, psql allows use
> of the up arrow key for history and the escape/tab key for command
> completion, but on my remote web host (webpipe.net) those keys don't work.
> What do I need to do to get these features working on my remote web host?
> I've seen reference to .psqlrc in the psql man file, but not much else (no
> syntax, etc).

*sigh* another candidate for the FAQ, I think.

The history keys rely on the GNU readline library.  If that library is not
available on your system, the history keys don't work.  If you compile
postgres from scratch, make sure you have also installed the
readline-devel rpm as well, so you get the header files, else the
configure phase of the compile will not properly detect and use the
library.

Brett W. McCoy                                    http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
Criticism comes easier than craftsmanship.    -- Zeuxis



В списке pgsql-sql по дате отправления:

Предыдущее
От: clayton cottingham
Дата:
Сообщение: Re: psql question
Следующее
От: Indraneel Majumdar
Дата:
Сообщение: Re: newbie: execute an sql script