Re: queriing the version of libpq

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: queriing the version of libpq
Дата
Msg-id f29d17cf5ceaf81fb3ae45f5151168a3@biglumber.com
обсуждение исходный текст
Ответ на queriing the version of libpq  ("Massa, Harald Armin" <chef@ghum.de>)
Ответы Re: queriing the version of libpq  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


> 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.

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 201010051030
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkyrNskACgkQvJuQZxSWSsiW7wCfYge62y175Xtsk4drGbnt7UU5
0R4Ani1gxDhNA0xdHoq+xxxROjuC4wh+
=n33y
-----END PGP SIGNATURE-----



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

Предыдущее
От: Jeff Ross
Дата:
Сообщение: Re: psql \q hang
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: queriing the version of libpq