From ee4aadc727b2fb4ab710f2a91b30d10af71e202d Mon Sep 17 00:00:00 2001 From: Christopher Kings-Lynne Date: Mon, 4 Jul 2005 14:42:12 +0000 Subject: [PATCH] Tweak pg_update() docs. Complete remaining new format pgsql docs. PHEW. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@189883 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pgsql/functions/pg-update.xml | 7 ++- reference/pgsql/functions/pg-version.xml | 69 +++++++++++++++++++++++- 2 files changed, 71 insertions(+), 5 deletions(-) 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 + +