Added information about ibm_db2.i5_all_pconnect (Patch by Owain Jones)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@256135 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Felipe Pena 2008-03-26 19:42:33 +00:00
parent 581291f53d
commit 3bb76a726a
2 changed files with 41 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.12 $ -->
<!-- $Revision: 1.13 $ -->
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.db2-bind-param" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -91,7 +91,11 @@
<listitem>
<para>
Specifies the precision with which the variable should be bound to the
database.
database. This parameter can also be used for retrieving XML output values
from stored procedures. A non-negative value specifies the maximum size of
the XML data that will be retrieved from the database. If this parameter
is not used, a default of 1MB will be assumed for retrieving the XML
output value from the stored procedure. 
</para>
</listitem>
</varlistentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<section xml:id="ibm-db2.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
@ -40,6 +40,12 @@
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since ibm_db2 1.0.2.</entry>
</row>
<row>
<entry>ibm_db2.i5_all_pconnect</entry>
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since ibm_db2 1.6.5.</entry>
</row>
</tbody>
</tgroup>
</table>
@ -143,6 +149,34 @@
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ibm-db2.i5-all-pconnect">
<term>
<parameter>ibm_db2.i5_all_pconnect</parameter>
<type>integer</type>
</term>
<listitem>
<para>
This option overrides i5 db2_connect full open and close in the PHP
application. When ibm_db2.i5_all_pconnect = 1, all db2 connections
become persistent (db2_pconnect). On i5/OS, db2_pconnect performs
dramatically better with lower machine stress over db2_connect. This
is a convenience override of db2_connect to evoke db2_pconnect without
PHP source code changes.
<itemizedlist>
<listitem>
<para>
0 db2_connect default full open and close
</para>
</listitem>
<listitem>
<para>
1 db2_connect override to db2_pconnect for persistent connection only
</para>
</listitem>
</itemizedlist>
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>