pg_version Returns an array with client, protocol and server version (when available) Description arraypg_version resourceconnection pg_version returns an array with the client, protocol and server version. Protocol and server versions are only avaliable if PHP was compiled with PostgreSQL 7.4 or later.