7.0 psql, readline and history. - Mailing list pgsql-general

From Jeffery Collins
Subject 7.0 psql, readline and history.
Date
Msg-id 3921E096.AEF0088@onyx-technologies.com
Whole thread Raw
Responses Re: 7.0 psql, readline and history.
RE: 7.0 psql, readline and history.
List 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



pgsql-general by date:

Previous
From: Paul Condon
Date:
Subject: upgrade to 7.0 using RPM
Next
From: Tom Lane
Date:
Subject: Re: 7.0 psql, readline and history.