Re: 7.0 psql, readline and history.

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: 7.0 psql, readline and history.
Дата
Msg-id Pine.LNX.4.21.0005172027500.349-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: 7.0 psql, readline and history.  (Jeffery Collins <collins@onyx-technologies.com>)
Список 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 по дате отправления:

Предыдущее
От: "Len Morgan"
Дата:
Сообщение: Re: why so big?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: initdb and "exit_nicely"...