pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
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: Fri, 02 Dec 2005 09:14:31 -0500
Message-ID: <2198.1133532871@sss.pgh.pa.us> (raw)
In-Reply-To: <200512020928.20375.peter_e@gmx.net>
References: <200512020358.jB23wAY17188@candle.pha.pa.us>
	<200512020928.20375.peter_e@gmx.net>

Peter Eisentraut <peter_e@gmx.net> writes:
> I'm concerned that this still gives nondeterministic behavior.  There's 
> no way to say, "I want readline, period" or "I want libedit, period".  
> I'd prefer simple --with-readline and --with-libedit, giving one turns 
> off the other, giving both is an error.

OTOH that doesn't provide a way to express "I'll take either".  Given
that I'll-take-either has so far satisfied 99.44% of users, getting rid
of it doesn't seem like the best plan.

It might be possible to set things up so that you can specify "I'll take
either" by writing both switches, and further that the order in which
you write the switches determines the preference --- though I'm not
entirely sure how to do the latter within the autoconf framework.

			regards, tom lane



view thread (36+ messages)  latest in thread

Message-ID: <2198.1133532871@sss.pgh.pa.us>
Permalink:  ../2198.1133532871@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2198.1133532871@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, peter_e@gmx.net, pgman@candle.pha.pa.us, 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: <2198.1133532871@sss.pgh.pa.us>
  References: <200512020358.jB23wAY17188@candle.pha.pa.us> <200512020928.20375.peter_e@gmx.net> <2198.1133532871@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