Re: psql and Gnu readline

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Erich <hh(at)cyberpass(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: psql and Gnu readline
Date: 2000-07-12 07:53:37
Message-ID: 22360.963388417@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Erich wrote:
>> I've just installed PostgreSQL 7.02 on my OpenBSD box. Everything is
>> working fine. I made sure to link in gnu readline in psql. It seems
>> to be working, because I can edit a line. For instance, Ctl-A takes
>> me to the beginning of a line, Ctl-K kills it, etc. However, Ctl-P
>> doesn't go up a line, so I can't access previous lines, and lines are
>> not saved in the .psql_history file which is mentioned on the man
>> page.

IIRC the "history" facility is separate from the core of libreadline.
You may not have libhistory installed, or at least our configure script
failed to notice that it's there. Check the xxxHISTORY defines in
config.h.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Krebs 2000-07-12 08:07:45 Re: [NOVICE] newbie problem on creating table
Previous Message Holger Klawitter 2000-07-12 07:40:41 Re: psql and Gnu readline