Re: .psql_history file is messed up and control-r does not work - Mailing list pgsql-general

From zhong ming wu
Subject Re: .psql_history file is messed up and control-r does not work
Date
Msg-id CAMUiGaZHrjJbbwS3wFfr4BMHhobq62SUEfe-3k-HEvSgsBNgzg@mail.gmail.com
Whole thread Raw
In response to Re: .psql_history file is messed up and control-r does not work  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
>
> Yeah, that's what it will look like if psql is using Apple's libedit
> library; it's unrelated to the server.
>
> I think libedit doesn't support control-r either, not totally sure
> though.  In any case there are some known bugs in libedit that Apple's
> not been terribly swift to fix.  I'd suggest installing GNU readline
> and linking psql against that instead.


Thanks.  compiling with readline solves both problems.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: .psql_history file is messed up and control-r does not work
Next
From: Scott Ribe
Date:
Subject: sql query bug???