Add PQlibVersion() function to libpq

Magnus Hagander <magnus@hagander.net>

Commit: de9a4c27fefcc0d104bc9c97f4a93a49a25bf66d
Author: Magnus Hagander <magnus@hagander.net>
Date: 2010-12-22T13:23:56Z
Releases: 9.1.0
Add PQlibVersion() function to libpq

This function is like the PQserverVersion() function except
it returns the version of libpq, making it possible for a client
program or driver to determine which version of libpq is in
use at runtime, and not just at link time.

Suggested by Harald Armin Massa and several others.

Files