Re: psql and readline

Поиск
Список
Период
Сортировка
От Patrick Welche
Тема Re: psql and readline
Дата
Msg-id 20030216172934.A4454@quartz.newn.cam.ac.uk
обсуждение исходный текст
Ответ на Re: psql and readline  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
Список pgsql-hackers
On Sat, Feb 15, 2003 at 03:10:19PM -0600, Ross J. Reedstrom wrote:
> On Fri, Feb 14, 2003 at 11:32:02AM -0500, Tom Lane wrote:
> > Patrick Welche <prlw1@newn.cam.ac.uk> writes:
> > > On Thu, Feb 13, 2003 at 10:25:52AM -0500, Tom Lane wrote:
> > >> Well, is that a bug in your wrapper?  Or must we add a configure test
> > >> for the presence of replace_history_entry()?
> > 
> > > Good question. Easiest for now for me would be add a configure test.
> > 
> > Okay with me --- Ross, can you handle that?
> 
> I'll take a crack at it. Testing will be a problem, since all my machines
> have libreadline installed, but I've got one I can probably pull it off
> of. Patrick, is 'your libedit wrapper' your personal code, or something
> standard on some set of systems (e.g. *BSD) ?

It's the standard NetBSD libedit which comes with built-in readline emulation,
it's just that replace_history_entry isn't one of the emulated functions.
({read,write,add}_history() are included)

> Ross "one line patches always grow" Reedstrom

:-)

I'm of course very happy to test the growing patch!

Cheers,

Patrick


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: online reindex
Следующее
От: Tom Lane
Дата:
Сообщение: Re: client_encoding directive is ignored in