pq_server_versionΒΆ

pq_server_version returns the server version.

vers = pq_server_version(db)

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

db is the connection pointer returned by pq_connectdb.

History

Version Description
5.5.0 New

id-773942