I didn't see a response to this posting. It would be great if someone
could contribute these changes for me. I don't need to modify the doc very
frequently, so I don't know if it makes sense for me to have a CVS
account.
Thanks!
DeDe Morton
----- Forwarded by DeDe Morton/Silicon Valley/IBM on 03/26/2008 11:23 AM
-----
DeDe Morton/Silicon Valley/[EMAIL PROTECTED]
03/24/2008 09:45 AM
To
[email protected]
cc
Subject
[PHP-DOC] en/reference/ibm_db2 - ini.xml and db2-bind-param.xml
modification
A colleague of mine submitted these changes back in December, but the
changes were never applied. I don't have cvs contribution access. Can
someone contribute this for me? Do I need to create a new diff file, or
can you use the version that Owain created in December?
Thanks,
DeDe Morton
----- Forwarded by Owain Jones/Toronto/IBM on 19/12/2007 08:18 PM -----
Owain Jones/Toronto/IBM
19/12/2007 08:16 PM
To
[email protected]
cc
Subject
en/reference/ibm_db2 - ini.xml and db2-bind-param.xml modification
Modified en/reference/ibm_db2/ini.xml to add ibm_db2.i5_all_pconnect
configuration parameter.
Modified en/reference/ibm_db2/functions/db2-bind-param.xml added
information to precision parameter.
I don't have cvs contribution access so if somebody could contribute this
for me that would be great.
Thanks,
Owain
Index: en/reference/ibm_db2/ini.xml
===================================================================
RCS file: /repository/phpdoc/en/reference/ibm_db2/ini.xml,v
retrieving revision 1.7
diff -u -r1.7 ini.xml
--- en/reference/ibm_db2/ini.xml 28 Oct 2007 00:06:38 -0000 1.7
+++ en/reference/ibm_db2/ini.xml 19 Dec 2007 20:32:11 -0000
@@ -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>
Index: en/reference/ibm_db2/functions/db2-bind-param.xml
===================================================================
RCS file: /repository/phpdoc/en/reference/ibm_db2/functions/db2-bind-param.xml,v
retrieving revision 1.12
diff -u -r1.12 db2-bind-param.xml
--- en/reference/ibm_db2/functions/db2-bind-param.xml 1 Nov 2007 16:40:38
-0000 1.12
+++ en/reference/ibm_db2/functions/db2-bind-param.xml 19 Dec 2007 20:33:20
-0000
@@ -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>