diff --git a/reference/pgsql/functions/pg-update.xml b/reference/pgsql/functions/pg-update.xml index 32db2d0648..b56b39465a 100644 --- a/reference/pgsql/functions/pg-update.xml +++ b/reference/pgsql/functions/pg-update.xml @@ -1,5 +1,5 @@ - + @@ -29,7 +29,7 @@ &warn.experimental.func; - + &reftitle.parameters; @@ -45,8 +45,7 @@ table_name - Name of the table into which to insert rows. The table table_name must at least - have as many columns as condition has elements. + Name of the table into which to update rows. diff --git a/reference/pgsql/functions/pg-version.xml b/reference/pgsql/functions/pg-version.xml index 6aaf13cf12..b06f625344 100644 --- a/reference/pgsql/functions/pg-version.xml +++ b/reference/pgsql/functions/pg-version.xml @@ -1,5 +1,5 @@ - + pg_version @@ -19,6 +19,73 @@ and server version. Protocol and server versions are only avaliable if PHP was compiled with PostgreSQL 7.4 or later. + + For more detailed server information, use pg_parameter_status. + + + + + &reftitle.parameters; + + + + connection + + + PostgreSQL database connection resource. When + connection is not present, the default connection + is used. The default connection is the last connection made by + pg_connect or pg_pconnect. + + + + + + + + + &reftitle.returnvalues; + + Returns an array with client, protocol + and server_version keys and values (if available). Returns + &false; on error or invalid connection. + + + + + &reftitle.examples; + + + <function>pg_version</function> example + + +]]> + + &example.outputs; + + + + + + + + + &reftitle.seealso; + + + pg_parameter_status + +