Re: readline selection (was Re: [GENERAL] psql leaking? - SOLVED)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Russ Brown" <postgres(at)dot4dot(dot)plus(dot)com>
Cc: pgsql-bugs(at)postgreSQL(dot)org
Subject: Re: readline selection (was Re: [GENERAL] psql leaking? - SOLVED)
Date: 2004-09-05 06:50:00
Message-ID: 200409050850.00860.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

Tom Lane wrote:
> (1) modify PGAC_CHECK_READLINE so that it really does prefer readline
> over libedit consistently. I think all this would take is switching
> the loop order:
>
> for pgac_rllib in -lreadline -ledit ; do
> for pgac_lib in "" " -ltermcap" " -lncurses" " -lcurses" ; do
>
> but possibly I'm missing something.

That seems reasonable. I'm not really sure why the loops are nested the
other way.

> (2) fix the readline header selection so that it will only take the
> headers that correspond to the selected library. These libraries are
> more or less source-compatible but they do not have the same ABI, so
> mix-and-match is not going to work.

That sounds like a pretty hard problem to solve.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Harald Armin Massa 2004-09-05 10:20:39 Failed to connect to database - further investigations
Previous Message Wes 2004-09-05 04:37:05 "make check" failure on 8.0 b2

Browse pgsql-general by date

  From Date Subject
Next Message Google Mike 2004-09-05 11:20:43 Re: HOWTO: Get a table or database definition
Previous Message Mike Nolan 2004-09-05 02:58:19 Re: How to determine a database is intact?