RE: 7.0 psql, readline and history.

Поиск
Список
Период
Сортировка
От Michael S. Kelly
Тема RE: 7.0 psql, readline and history.
Дата
Msg-id NEBBKOJMAKEJJCCOJPPPOELKCBAA.michaelk@axian.com
обсуждение исходный текст
Ответ на 7.0 psql, readline and history.  (Jeffery Collins <collins@onyx-technologies.com>)
Список pgsql-general
Thanks Jeff.  I'm the guy that started that thread.  Been meaning to get
back to the problem but had other issues on the project.  Now I know what to
do next.  Appreciate your posting the solution.

-=michael=-

*****************************************************
*  Michael S. Kelly
*  4800 SW Griffith Dr., Ste. 202
*  Beaverton, OR  97005 USA
*  voice: (503)644-6106 x122  fax: (503)643-8425
*  <michaelk@axian.com>
*  http://www.axian.com/
*****************************************************
*    Axian:  Software Consulting and Training
*****************************************************


-----Original Message-----
From: Jeffery Collins [mailto:collins@onyx-technologies.com]
Sent: Tuesday, May 16, 2000 4:58 PM
To: pgsql-general@postgresql.org
Subject: 7.0 psql, readline and history.


I saw a note a few days ago about the arrow keys not working in psql in
7.0.  As I recall the answer was to make sure the configure script could
find "readline.h".  I had the same problem as the original questioner,
and attempted the suggested fix.  The fix did allow configure to find
"readline.h" as well as "readline/readline.h", but the problem wasn't
fixed.  After some investigation (i.e. reading the source), I determined
the real problem was my version of readline.

It *appears* to me that 7.0 requires readline version 4.1 in order for
the readline history features to work, whereas 6.5.3 was happy with an
earlier version.  When I updated my version of readline, the readline
history functions started working.

I hope this isn't a repeat of earlier mail on this topic (I only joined
the mailing list about a week ago), and I hope it helps people with the
same problem that I had.

Jeff Collins




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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: initdb and "exit_nicely"...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump return failed sanity check