Re: How to check the postgresql version

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: How to check the postgresql version
Дата
Msg-id ddb13057cb111f37a2a915074a1b9f8a@biglumber.com
обсуждение исходный текст
Ответ на How to check the postgresql version  (Ruey-Lung Hsiao <rlhsiao@gmail.com>)
Список pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It's not quite the same, but check out the libpq function
PQserverVersion, which returns the version in a standard
6-digit format, which can then be used to easily do
numeric comparisons. Look for "sversion" in interfaces/libpq/fe-exec.c
and PQserverVersion in interfaces/libpq/fe-connect.c for
more details.
- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200411222127
-----BEGIN PGP SIGNATURE-----
iD4DBQFBoqBJvJuQZxSWSsgRAleLAJQOmBAN69x7A/79IGiAV6T0GZt5AKDDDTFw
WWXPNFSsUp/iRNgM/Mgy1g==
=QV4u
-----END PGP SIGNATURE-----




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

Предыдущее
От: Dru
Дата:
Сообщение: Re: Can postgresql accept mutliple connections in the same
Следующее
От: "Barry Lind"
Дата:
Сообщение: FW: [JDBC] Strange server error with current 8.0beta driver