Add PQlibVersion() function to libpq
Magnus Hagander <magnus@hagander.net>
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
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/libpq.sgml | modified | +44 −0 |
| src/interfaces/libpq/exports.txt | modified | +1 −0 |
| src/interfaces/libpq/fe-misc.c | modified | +8 −0 |
| src/interfaces/libpq/libpq-fe.h | modified | +3 −0 |