From:
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To:
Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc:
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org,
"Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>,
Andrew Dunstan <andrew(at)dunslane(dot)net>,
Seneca Cunningham <scunning(at)ca(dot)afilias(dot)info>
Subject:
Re: [HACKERS] Should libedit be preferred to libreadline?
Date:
2005-12-02 14:14:31
Message-ID:
2198.1133532871@sss.pgh.pa.us (view raw or flat )
Thread:
2005-11-21 22:38:17 from Seneca Cunningham <scunning(at)ca(dot)afilias(dot)info>
2005-11-22 00:50:48 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2005-11-22 01:09:16 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-11-22 20:49:24 from "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
2005-11-25 17:04:12 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-11-25 18:39:43 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-12-02 02:44:32 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-12-02 03:14:12 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-12-02 03:27:32 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-12-02 03:43:19 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-12-02 03:58:10 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-12-02 04:03:52 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-12-02 15:02:14 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2005-12-02 18:38:10 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-12-02 08:28:19 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-12-02 14:14:31 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-12-02 17:14:09 from Chris Browne <cbbrowne(at)acm(dot)org>
2005-12-02 17:28:38 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-12-02 18:23:35 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-12-02 18:32:42 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-12-02 18:39:00 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-12-02 18:47:18 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2005-12-02 18:52:07 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-12-02 19:01:05 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-12-02 20:12:15 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-12-02 20:27:41 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2005-12-03 11:11:40 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-12-03 13:01:19 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-12-03 14:48:57 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2005-12-03 14:53:52 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-12-03 15:14:46 from "Michael Paesold" <mpaesold(at)gmx(dot)at>
2005-12-03 15:27:37 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2005-12-04 03:52:22 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Lists:
pgsql-hackers pgsql-patches pgsql-ports
Peter Eisentraut <peter_e(at)gmx(dot)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
In response to
Responses
pgsql-ports by date
Next :From: Andrew DunstanDate: 2005-12-02 15:02:14
Subject : Re: [HACKERS] Should libedit be preferred to libreadline?
Previous :From : Peter EisentrautDate : 2005-12-02 08:28:19
Subject : Re: [HACKERS] Should libedit be preferred to libreadline?
pgsql-hackers by date
Next :From: Tom LaneDate: 2005-12-02 14:18:01
Subject : Re: Shared locking in slru.c
Previous :From : Pollard, MikeDate : 2005-12-02 12:57:50
Subject : Re: generalizing the planner knobs
pgsql-patches by date
Next :From: Andrew DunstanDate: 2005-12-02 15:02:14
Subject : Re: [HACKERS] Should libedit be preferred to libreadline?
Previous :From : Andreas SeltenreichDate : 2005-12-02 13:59:30
Subject : Re: TODO item -- Improve psql's handling of multi-line queries