Re: queriing the version of libpq

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: queriing the version of libpq
Дата
Msg-id AANLkTim=tdZ5EP1BL_J=N_opzgBrZqejVk6OnfqY83BR@mail.gmail.com
обсуждение исходный текст
Ответ на Re: queriing the version of libpq  ("Greg Sabino Mullane" <greg@turnstep.com>)
Ответы Re: querying the version of libpq  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список pgsql-general
On Tue, Oct 5, 2010 at 16:32, Greg Sabino Mullane <greg@turnstep.com> wrote:
>> My question: Which way is available to query the linked libpq version?
>
> That's information your driver should be supplying. For example, in
> Perl (DBD::Pg), you would say
>
> if ($dbh->{pg_lib_version} >= 90000) {
>
> I'd raise a bug with psycopg2 if it does not provide that information.

How does the driver figure it out?

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

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

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: queriing the version of libpq
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: querying the version of libpq