pg_version
(PHP 5)
pg_version --
Returns an array with client, protocol and server version (when available)
说明
array
pg_version ( [resource connection] )
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.