cvs: phpdoc /en/functions pgsql.xml

From: Date: Mon, 10 Dec 2001 17:57:10 +0000
Subject: cvs: phpdoc /en/functions pgsql.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969339605@lists.php.net to get a copy of this message
yohgaki Mon Dec 10 12:57:10 2001 EDT Modified files: /phpdoc/en/functions pgsql.xml Log: Add description for pg_cmdtuples in pg_numrows page. Index: phpdoc/en/functions/pgsql.xml diff -u phpdoc/en/functions/pgsql.xml:1.53 phpdoc/en/functions/pgsql.xml:1.54 --- phpdoc/en/functions/pgsql.xml:1.53 Mon Dec 10 12:34:56 2001 +++ phpdoc/en/functions/pgsql.xml Mon Dec 10 12:57:09 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.53 $ --> +<!-- $Revision: 1.54 $ --> <reference id="ref.pgsql"> <title>PostgreSQL functions</title> <titleabbrev>PostgreSQL</titleabbrev> @@ -1327,11 +1327,18 @@ </funcprototype> </funcsynopsis> <para> - <function>pg_numrows</function> will return the number of rows in a - PostgreSQL result. The argument is a result resource - returned by <function>pg_exec</function>. This function will - return -1 on error. + <function>pg_numrows</function> will return the number of rows in + a PostgreSQL <parameter>result</parameter> resource. + <parameter>result</parameter> is a qeury result resource returned + by <function>pg_exec</function>. This function will return -1 on + error. </para> + <note> + <para> + Use <function>pg_cmdtuples</function> to get number of rows + affected by INSERT, UPDATE and DELETE query. + </para> + </note> <para> See also <function>pg_numfields</function> and <function>pg_cmdtuples</function>. @@ -1414,7 +1421,7 @@ different username) </para> <para> - The previous syntax of: + Multiple parameters syntax for <function>pg_pconnect</function> <command>$conn = pg_pconnect ("host", "port", "options", "tty", "dbname") </command>

« previous php.doc (#969339605) next »