Re: [PATCHES] configure.in patch for readline and curses. - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCHES] configure.in patch for readline and curses.
Date
Msg-id Pine.LNX.4.30.0102061925100.775-100000@peter.localdomain
Whole thread Raw
List pgsql-hackers
Rick Robino writes:

> psql starts up with readline support turned on by default. If readline/curses
> is broken, this may show up at runtime as a pq_recvbuf error and a core dump.
> psql isn't obvious about the relationship to readline, creating a mystery for
> first-timers.
>
> Since it is readline, and it is on by default, just maybe that first-timer
> might reconfigure turning "luxuries" off and psql will work.

That looks like a rather unusual way to proceed.

> The alternative is them finding that obscure scrap of advice (not in
> doc/*) associating recvbuf errors with readline support.

The other alternative is fixing the underlying problem.

> I had this problem on a very typically setup Solaris but did not look for a
> way to build w/o readline.

Yes, we have had several reports that termcap and ncurses don't like each
other on Solaris.  I'm going to alter configure to check for only one of
the two.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Karel Zak
Date:
Subject: Re: Include files for SPI are not installed
Next
From: Bruce Momjian
Date:
Subject: Re: OID from insert has extra letter