Re: Debian readline/libedit breakage - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Debian readline/libedit breakage
Date
Msg-id 201102171713.p1HHDMH26876@momjian.us
Whole thread Raw
In response to Re: Debian readline/libedit breakage  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Debian readline/libedit breakage  (Andrew Dunstan <andrew@dunslane.net>)
List 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@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Fix blatantly uninitialized variable in recent commit.
Next
From: Tom Lane
Date:
Subject: Re: contrib loose ends: 9.0 to 9.1 incompatibilities