pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-patches@postgresql.org
Cc: Jim C. Nasby <jnasby@pervasive.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Seneca Cunningham <scunning@ca.afilias.info>
Subject: Re: [HACKERS] Should libedit be preferred to libreadline?
Date: Thu, 01 Dec 2005 22:43:19 -0500
Message-ID: <27252.1133494999@sss.pgh.pa.us> (raw)
In-Reply-To: <200512020327.jB23RWO00507@candle.pha.pa.us>
References: <200512020327.jB23RWO00507@candle.pha.pa.us>

Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> Can't it just be --with-libedit?  That seems awfully verbose,
>> particularly seeing that configure doesn't handle switch abbreviation.

> The problem is that we need a clear way to say we don't want any line
> editing.  Right now we do it with --without-readline.  Also, we already
> test for libedit if we don't find readline.  Would we stop doing that? 

Well, we could rename --without-readline to --without-editing, but
I think this would just break people's existing expectations without
adding much.  I don't see a problem with documenting

	--with-libedit		prefer libedit over libreadline

and leaving the rest alone.

> Oh, one good thing is that the new configure 2.59 we are using throws an
> error now for invalid user-supplied configure options, rather than
> silently ignoring it like it used to.

Really?  I did "configure --with-bozo" and it didn't complain.  It
does barf on "--bozo", but the autoconf boys have been insistent for
more than a decade that accepting --with-anything is a feature not
a bug.  So I think --with-some-long-name is more user-unfriendly than
user-friendly.

			regards, tom lane



view thread (36+ messages)  latest in thread

Message-ID: <27252.1133494999@sss.pgh.pa.us>
Permalink:  ../27252.1133494999@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27252.1133494999@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, pgman@candle.pha.pa.us, peter_e@gmx.net, pgsql-patches@postgresql.org, jnasby@pervasive.com, andrew@dunslane.net, scunning@ca.afilias.info
  Subject: Re: [HACKERS] Should libedit be preferred to libreadline?
  In-Reply-To: <27252.1133494999@sss.pgh.pa.us>
  References: <200512020327.jB23RWO00507@candle.pha.pa.us> <27252.1133494999@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