From 3bb76a726ac76c2c7a6c6a45c87f35a3d91184cf Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Wed, 26 Mar 2008 19:42:33 +0000 Subject: [PATCH] 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 --- .../ibm_db2/functions/db2-bind-param.xml | 8 +++-- reference/ibm_db2/ini.xml | 36 ++++++++++++++++++- 2 files changed, 41 insertions(+), 3 deletions(-) diff --git a/reference/ibm_db2/functions/db2-bind-param.xml b/reference/ibm_db2/functions/db2-bind-param.xml index 43b3fb4e93..c73bdec2f3 100644 --- a/reference/ibm_db2/functions/db2-bind-param.xml +++ b/reference/ibm_db2/functions/db2-bind-param.xml @@ -1,5 +1,5 @@ - + @@ -91,7 +91,11 @@ 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.  diff --git a/reference/ibm_db2/ini.xml b/reference/ibm_db2/ini.xml index 6f963b7043..4163543af6 100644 --- a/reference/ibm_db2/ini.xml +++ b/reference/ibm_db2/ini.xml @@ -1,5 +1,5 @@ - +
&reftitle.runtime; &extension.runtime; @@ -40,6 +40,12 @@ PHP_INI_SYSTEM Available since ibm_db2 1.0.2. + + ibm_db2.i5_all_pconnect + "0" + PHP_INI_SYSTEM + Available since ibm_db2 1.6.5. + @@ -143,6 +149,34 @@ + + + ibm_db2.i5_all_pconnect + integer + + + + 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. + + + + 0 db2_connect default full open and close + + + + + 1 db2_connect override to db2_pconnect for persistent connection only + + + + + +