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 1046E9DCC9C for ; Fri, 2 Dec 2005 13:28:44 -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 38311-05 for ; Fri, 2 Dec 2005 13:28:40 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id A07579DCAA6 for ; Fri, 2 Dec 2005 13:28:40 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id jB2HScP3003788; Fri, 2 Dec 2005 12:28:38 -0500 (EST) To: Chris Browne cc: pgsql-patches@postgresql.org Subject: Re: [HACKERS] Should libedit be preferred to libreadline? In-reply-to: <608xv3zaji.fsf@dba2.int.libertyrms.com> References: <200512020358.jB23wAY17188@candle.pha.pa.us> <200512020928.20375.peter_e@gmx.net> <2198.1133532871@sss.pgh.pa.us> <608xv3zaji.fsf@dba2.int.libertyrms.com> Comments: In-reply-to Chris Browne message dated "Fri, 02 Dec 2005 12:14:09 -0500" Date: Fri, 02 Dec 2005 12:28:38 -0500 Message-ID: <3787.1133544518@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.003 required=5 tests=[AWL=0.003] X-Spam-Score: 0.003 X-Spam-Level: X-Archive-Number: 200512/45 X-Sequence-Number: 18004 Chris Browne writes: > To my mind, giving BIG weight to the opinions of the relatively small > set of individuals that manage PostgreSQL packages for the popular > distributions of Linux and *BSD seems fairly appropriate. The packagers are bright enough to adapt to whatever we do --- it's the people who build their own from source that I'm worried about. --with-readline has worked fine for libedit users for a long time, and suddenly changing its semantics strikes me as a bad idea. The other problem with the "let's be deterministic" argument is that it rests on a fallacy, which is that configure can reliably tell the difference between libreadline and libedit. Darwin, for example, goes to some lengths to confuse matters. (I think I'd actually be for the determinism point of view if it could provide an #ifdef flag saying which library is in use --- then we could fix the write_history return value problem we're seeing on Darwin --- but I don't think we can do it short of a behavioral probe during configure.) regards, tom lane