Re: [HACKERS] Should libedit be preferred to libreadline?

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Chris Browne <cbbrowne(at)acm(dot)org>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] Should libedit be preferred to libreadline?
Date: 2005-12-02 20:27:41
Message-ID: 1133555262.16716.36.camel@jd.commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches pgsql-ports

On Fri, 2005-12-02 at 15:12 -0500, Bruce Momjian wrote:
> Joshua D. Drake wrote:
> >
> > > OK, updated text:
> > >
> > > --with-openssl build with OpenSSL support
> > > --with-libedit-preferred prefer Libedit over Libreadline
> > > --without-readline do not use Libreadline/Libedit line editing
> > > --without-zlib do not use Zlib
> >
> > This all seems kind of extra... Why not just:
> >
> > --with-libedit Use libedit instead of readline
> > --with-readline Use readline instead of libedit (default)
> > --without-readline Use when readline is not available
> >
>
> Did you read my later posting? There is no reasonable default for
> those unless we want to disable libedit detection by default,

Well that is why I said that --with-readline is the default ;)

> and as Tom
> mentioned, for OSX it isn't even clear which one you have found.

Hmmm... Can we change the config options based on FreeBSD/OSX? Where
if it is that platform libedit is the default?

Of course is OSX can't determine which one it is giving to the user that
seems like a PITA.

Joshua D. Drake

>
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: PLphp, PLperl, ODBCng - http://www.commandprompt.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-12-02 20:37:56 Re: Reduce NUMERIC size by 2 bytes, reduce max length to 508 digits
Previous Message Alvaro Herrera 2005-12-02 20:26:34 Re: Numeric 508 datatype

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-12-02 20:37:56 Re: Reduce NUMERIC size by 2 bytes, reduce max length to 508 digits
Previous Message Alvaro Herrera 2005-12-02 20:26:34 Re: Numeric 508 datatype

Browse pgsql-ports by date

  From Date Subject
Next Message Peter Eisentraut 2005-12-03 11:11:40 Re: [HACKERS] Should libedit be preferred to libreadline?
Previous Message Bruce Momjian 2005-12-02 20:12:15 Re: [HACKERS] Should libedit be preferred to libreadline?