RE: 7.0 psql, readline and history.

From: "Michael S(dot) Kelly" <michaelk(at)axian(dot)com>
To: "Jeffery Collins" <collins(at)onyx-technologies(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: RE: 7.0 psql, readline and history.
Date: 2000-05-17 16:18:49
Message-ID: NEBBKOJMAKEJJCCOJPPPOELKCBAA.michaelk@axian.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)axian(dot)com>
* http://www.axian.com/
*****************************************************
* Axian: Software Consulting and Training
*****************************************************

-----Original Message-----
From: Jeffery Collins [mailto:collins(at)onyx-technologies(dot)com]
Sent: Tuesday, May 16, 2000 4:58 PM
To: pgsql-general(at)postgresql(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-05-17 16:35:14 Re: Question about databases in alternate locations...
Previous Message Thomas Lockhart 2000-05-17 15:27:46 Re: Question about databases in alternate locations...