Re: Debian readline/libedit breakage

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, Dave Page <dpage(at)pgadmin(dot)org>, Magnus Hagander <magnus(at)hagander(dot)net>, jd(at)commandprompt(dot)com, Greg Stark <gsstark(at)mit(dot)edu>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Greg Smith <greg(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Michael Banck <mbanck(at)debian(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Debian readline/libedit breakage
Date: 2011-02-17 17:13:22
Message-ID: 201102171713.p1HHDMH26876@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan wrote:
>
>
> On 02/17/2011 11:58 AM, Bruce Momjian wrote:
> > Andrew Dunstan wrote:
> >>
> >> On 02/17/2011 11:44 AM, Bruce Momjian wrote:
> >>> Andrew Dunstan wrote:
> >>>> On 02/17/2011 11:22 AM, Bruce Momjian wrote:
> >>>>> psql used to use the native Windows line editing ability --- has that
> >>>>> changed?
> >>>> When did it? Ad what "native" windows line editing ability are you
> >>>> referring to?
> >>> There is native Windows editing like arrows, etc and history, though the
> >>> history is not kept between sessions. If windows is now using readline,
> >>> then odds are we are shipping libreadline to make that happen, and we
> >>> are then linking using a supplied GPL library (and we don't have the
> >>> OS-installed exception). I hope I am wrong.
> >>
> >> Readline has always been disabled on Windows builds AFAIK. Just look at
> >> the buildfarm traces. Here's an example from
> >> <http://www.pgbuildfarm.org/cgi-bin/show_stage_log.pl?nm=frogmouth&dt=2011-02-17%2015%3A30%3A03&stg=configure>
> >>
> >> configure: WARNING: *** Readline does not work on MinGW --- disabling
> >>
> >>
> >> It's not used in MSVC either, IIRC.
> >
> > OK, I was only responding to Stephen Frost who said psql did not behave
> > like other Windows apps.
>
> I think both of you have possibly been under a misapprehension. All this
> discussion about the Windows installers is entirely irrelevant to this
> thread, ISTM, since there is no readline use in them.

OK, that's what I thought.

> FWIW, the only interactively usable version of psql for windows I know
> of is the one that runs under Cygwin. It can be build with readline and
> works as expected.

Uh, don't we have a psql built via MSVC? Doesn't it work interactively?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-02-17 17:16:56 Re: contrib loose ends: 9.0 to 9.1 incompatibilities
Previous Message Andrew Dunstan 2011-02-17 17:07:17 Re: Debian readline/libedit breakage