X-Original-To: pgsql-patches-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id F10F39DD77B for ; Fri, 2 Dec 2005 16:27:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 08565-07 for ; Fri, 2 Dec 2005 16:27:14 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from hosting.commandprompt.com (128.commandprompt.com [207.173.200.128]) by postgresql.org (Postfix) with ESMTP id 45FF79DD765 for ; Fri, 2 Dec 2005 16:27:15 -0400 (AST) Received: from [192.168.1.55] (fc1smp [66.93.38.87]) (authenticated bits=0) by hosting.commandprompt.com (8.13.4/8.13.4) with ESMTP id jB2KKxTN031124; Fri, 2 Dec 2005 12:20:59 -0800 Subject: Re: [HACKERS] Should libedit be preferred to libreadline? From: "Joshua D. Drake" Reply-To: jd@commandprompt.com To: Bruce Momjian Cc: Tom Lane , Chris Browne , pgsql-patches@postgresql.org In-Reply-To: <200512022012.jB2KCGT06761@candle.pha.pa.us> References: <200512022012.jB2KCGT06761@candle.pha.pa.us> Content-Type: text/plain Organization: Command Prompt, Inc. Date: Fri, 02 Dec 2005 12:27:41 -0800 Message-Id: <1133555262.16716.36.camel@jd.commandprompt.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2 (2.4.2-1.1.fc4.nr) Content-Transfer-Encoding: 7bit X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (hosting.commandprompt.com [192.168.1.101]); Fri, 02 Dec 2005 12:21:00 -0800 (PST) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200512/70 X-Sequence-Number: 18029 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/