mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Removed note for PHP/FI.
Added note for default connection. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@64511 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e27dc90088
commit
5f856161a2
1 changed files with 17 additions and 9 deletions
|
@ -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 @@ $dbconn4 = pg_connect ($conn_string);
|
|||
<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>
|
||||
|
|
Loading…
Reference in a new issue