pg_version
Returns an array with client, protocol and server version (when available)
&reftitle.description;
arraypg_version
PgSql\Connectionnullconnection&null;
pg_version returns an array with the client, protocol
and server version. Protocol and server versions are only available if PHP
was compiled with PostgreSQL 7.4 or later.
For more detailed server information, use pg_parameter_status.
&reftitle.parameters;
connection
&pgsql.parameter.connection-with-nullable-default;
&reftitle.returnvalues;
Returns an array with client, protocol
and server keys and values (if available).
&reftitle.changelog;
&Version;
&Description;
&pgsql.changelog.connection-object;
8.0.0
connection is now nullable.
&reftitle.examples;
pg_version example
]]>
&example.outputs;
&reftitle.seealso;
pg_parameter_status