Re: 7.0 psql, readline and history. - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: 7.0 psql, readline and history.
Date
Msg-id Pine.LNX.4.21.0005172027500.349-100000@localhost.localdomain
Whole thread Raw
In response to Re: 7.0 psql, readline and history.  (Jeffery Collins <collins@onyx-technologies.com>)
List pgsql-general
Jeffery Collins writes:

> Wanna' bet? Perhaps I had an even older version?

FWIW, it turns out that mine is actually 2.2.1.

> I don't know alot about the readline library, but perhaps it would be
> sufficient to check for the presence of "using_history" in the library
> and not bother to check for the presence of history.h?

After reviewing the old code, this is seemingly what it did. The history
functions are then used without declaring them. I should probably squeeze
a patch for this into 7.0.1. Of course, updating readline to a "sane"
version is a valid workaround as well. (And believe me, there are plenty
of "insane" versions out there that we already had to put up with.)


--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


pgsql-general by date:

Previous
From: "Len Morgan"
Date:
Subject: Re: why so big?
Next
From: Peter Eisentraut
Date:
Subject: Re: initdb and "exit_nicely"...