pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chris Browne <cbbrowne@acm.org>
Cc: pgsql-patches@postgresql.org
Subject: Re: [HACKERS] Should libedit be preferred to libreadline?
Date: Fri, 02 Dec 2005 12:28:38 -0500
Message-ID: <3787.1133544518@sss.pgh.pa.us> (raw)
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>

Chris Browne <cbbrowne@acm.org> 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



view thread (36+ messages)  latest in thread

Message-ID: <3787.1133544518@sss.pgh.pa.us>
Permalink:  ../3787.1133544518@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3787.1133544518@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: tgl@sss.pgh.pa.us, cbbrowne@acm.org, pgsql-patches@postgresql.org
  Subject: Re: [HACKERS] Should libedit be preferred to libreadline?
  In-Reply-To: <3787.1133544518@sss.pgh.pa.us>
  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> <3787.1133544518@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox