7.0 psql, readline and history.

From: Jeffery Collins <collins(at)onyx-technologies(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: 7.0 psql, readline and history.
Date: 2000-05-16 23:58:14
Message-ID: 3921E096.AEF0088@onyx-technologies.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alfred Perlstein 2000-05-17 00:13:06 Re: Am I really stupid???
Previous Message Bruce Momjian 2000-05-16 23:32:40 Re: HTML version of book fixed