Re: 7.0 psql, readline and history.

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: 7.0 psql, readline and history.
Дата
в 18:01:00
Msg-id
Pine.LNX.4.21.0005172027500.349-100000@localhost.localdomain
Ответ на
Список
Дерево обсуждения
Re: 7.0 psql, readline and history. Jeffery Collins <collins@onyx-technologies.com>
Re: 7.0 psql, readline and history. Peter Eisentraut <peter_e@gmx.net>
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
Дата:
FAQ