pq_server_version returns the server version.
Return Value
vers is an integer with the major, minor and revision number, e. g. 80203 for the PostgreSQL version 8.2.3.
Parameters
db is the connection pointer returned by pq_connectdb.
History
| Version | Description |
|---|---|
| 5.5.0 | New |
See also
id-773942