Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patchespgsql-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

pgsql-ports by date

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

pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group