-----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 [EMAIL PROTECTED] PGP Key: 0x14964AC8 200411222127 -----BEGIN PGP SIGNATURE----- iD4DBQFBoqBJvJuQZxSWSsgRAleLAJQOmBAN69x7A/79IGiAV6T0GZt5AKDDDTFw WWXPNFSsUp/iRNgM/Mgy1g== =QV4u -----END PGP SIGNATURE-----
---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html