Re: psql shell problem

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: psql shell problem
Дата
Msg-id Pine.LNX.4.30.0105221739550.757-100000@peter.localdomain
обсуждение исходный текст
Ответ на psql shell problem  (Frank Bax <fbax@sympatico.ca>)
Список pgsql-general
Denis A. Doroshenko writes:

> please, be good and tell me why can't we use history _really found in
> libreadline_, just because of some headers missing? if example proggie
> using readline with history has been successfully compiled and linked,
> with no headers, who cares about the header files?

ISO 9899:1999 cares about the header files.  In C99 you can't use a
function without declaring it.  Note that the test case in configure does
declare the function in a phony way.

> > What edition of readline does OpenBSD supply?
>
> heh, sounds weird, but i can't tell you :-) it seems to be readline
> which comes with GNU binutils (version 2.9 for OpenBSD 2.8, AFAIK).

All GNU readline releases and all readline-compatible NetBSD libedit
releases provide a history.h header.  If OpenBSD wants to create a new
readline[-compatible] package that does not include a history.h file
because it declares the history functions in readline.h then that's okay,
but I need to know that this is the plan and not just an accident.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


В списке pgsql-general по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Unexpected query plan
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: OID again