cvs: phpdoc /en/functions pgsql.xml

From: Date: Tue, 11 Dec 2001 03:32:41 +0000
Subject: cvs: phpdoc /en/functions pgsql.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969339621@lists.php.net to get a copy of this message
yohgaki Mon Dec 10 22:32:41 2001 EDT Modified files: /phpdoc/en/functions pgsql.xml Log: Removed note for PHP/FI. Added note for default connection. Index: phpdoc/en/functions/pgsql.xml diff -u phpdoc/en/functions/pgsql.xml:1.54 phpdoc/en/functions/pgsql.xml:1.55 --- phpdoc/en/functions/pgsql.xml:1.54 Mon Dec 10 12:57:09 2001 +++ phpdoc/en/functions/pgsql.xml Mon Dec 10 22:32:41 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.54 $ --> +<!-- $Revision: 1.55 $ --> <reference id="ref.pgsql"> <title>PostgreSQL functions</title> <titleabbrev>PostgreSQL</titleabbrev> @@ -415,19 +415,27 @@ <function>pg_fetch_array</function>. <note> <simpara> - PHP/FI returned 1 if the query was not expected to return data - (inserts or updates, for example) and greater than 1 even on - selects that did not return anything. No such assumption can be - made in PHP. + <parameter>connection</parameter> is a optional parameter for + <function>pg_exec</function>. If + <parameter>connection</parameter> is not used, default + connection is used. Default connection is the last connection + made by <function>pg_connect</function> or + <function>pg_pconnect</function>. + </simpara> + <simpara> + Although <parameter>connection</parameter> can be omitted, it + is not recommended, since it could be a cause of hard to find + bug in script. </simpara> </note> </para> <para> - See also <function>pg_fetch_array</function>, + See also <function>pg_connect</function>, + <function>pg_pconnect</function>, + <function>pg_fetch_array</function>, <function>pg_fetch_object</function>, - <function>pg_result</function>, <function>pg_numrows</function>, - <function>pg_cmdtuples</function> and - <function>pg_numfields</function>. + <function>pg_numrows</function>, + and <function>pg_cmdtuples</function>. </para> </refsect1> </refentry>

« previous php.doc (#969339621) next »