Re: Finding the pqlib version

Поиск
Список
Период
Сортировка
От Christoph Zwerschke
Тема Re: Finding the pqlib version
Дата
Msg-id 43F1D106.3040700@online.de
обсуждение исходный текст
Ответ на Re: Finding the pqlib version  (Murray Cumming <murrayc@murrayc.com>)
Ответы Re: Finding the pqlib version  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-interfaces
Murray Cumming wrote:
> On Sat, 2006-02-11 at 14:50 +0100, Peter Eisentraut wrote:
>> Christoph Zwerschke wrote:
>>> However, there is no such thing as "PQLIB_VERSION_MAJOR".
>>> Anything else I could query instead?
>> You should query the presence of the function, not the version of the 
>> library.
> 
> If pqlib installed a pkg-config .pc file then this would be simpler.

Yes. You could use pg_config, but this is usually only included in the 
server package, not in the libs package.

-- Christoph


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

Предыдущее
От: Murray Cumming
Дата:
Сообщение: Re: Finding the pqlib version
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Finding the pqlib version