Re: querying the version of libpq
| От | Greg Sabino Mullane |
|---|---|
| Тема | Re: querying the version of libpq |
| Дата | |
| Msg-id | 0f0dc6d8694982a930e6412196effce0@biglumber.com обсуждение |
| Ответ на | Re: querying the version of libpq (Peter Geoghegan <peter.geoghegan86@gmail.com>) |
| Список | pgsql-general |
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 > I would imagine that most libpq wrapping drivers use libpq's > PQserverVersion(), which returns an integer that looks like 90000. Yeah, I'm familiar with that (I wrote it :) but it's not useful here for two reasons: 1) It's not available on older versions 2) It returns the *target* version, not the *compiled* version. In other words, it requires an existing PGconn object. - -- Greg Sabino Mullane greg@turnstep.com End Point Corporation http://www.endpoint.com/ PGP Key: 0x14964AC8 201010051212 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iEYEAREDAAYFAkyrTrsACgkQvJuQZxSWSsh+rACgkvzm7HFWO4X6jHy68M4lAr74 vSoAnRzG5F+pML4IQfQxCl64b3eiNbRm =JL6x -----END PGP SIGNATURE-----
В списке pgsql-general по дате отправления: