1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391
|
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 328602 $ -->
<section xml:id="ingres.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
<para>
<table>
<title>Ingres configuration options</title>
<tgroup cols="4">
<thead align="left">
<row>
<entry>&Name;</entry>
<entry>&Default;</entry>
<entry>&Changeable;</entry>
<entry>&Changelog;</entry>
</row>
</thead>
<tbody xml:id="ingres.configuration.list">
<row>
<entry><link
linkend="ini.ingres.allow-persistent">ingres.allow_persistent</link></entry>
<entry>"1"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since ingres 1.0.0</entry>
</row>
<row>
<entry><link
linkend="ini.ingres.array-index-start">ingres.array_index_start</link></entry>
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since ingres 1.4.0.</entry>
</row>
<row>
<entry><link linkend="ini.ingres.auto">ingres.auto</link></entry>
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since ingres 2.0.0.</entry>
</row>
<row>
<entry><link
linkend="ini.ingres.blob-segment-length">ingres.blob_segment_length</link></entry>
<entry>"4096"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since ingres 1.2.0.</entry>
</row>
<row>
<entry><link linkend="ini.ingres.cursor-mode">ingres.cursor_mode</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since ingres 1.1.0.</entry>
</row>
<row>
<entry><link
linkend="ini.ingres.default-database">ingres.default_database</link></entry>
<entry>NULL</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since ingres 1.0.0</entry>
</row>
<row>
<entry><link
linkend="ini.ingres.default-password">ingres.default_password</link></entry>
<entry>NULL</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since ingres 1.0.0</entry>
</row>
<row>
<entry><link linkend="ini.ingres.default-user">ingres.default_user</link></entry>
<entry>NULL</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since ingres 1.0.0</entry>
</row>
<row>
<entry><link linkend="ini.ingres.describe">ingres.describe</link></entry>
<entry>1</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since ingres 2.1.0</entry>
</row>
<row>
<entry><link
linkend="ini.ingres.fetch-buffer-size">ingres.fetch_buffer_size</link></entry>
<entry>100</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since ingres 2.1.0</entry>
</row>
<row>
<entry><link linkend="ini.ingres.max-links">ingres.max_links</link></entry>
<entry>"-1"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since ingres 1.0.0</entry>
</row>
<row>
<entry><link
linkend="ini.ingres.max-persistent">ingres.max_persistent</link></entry>
<entry>"-1"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since ingres 1.0.0</entry>
</row>
<row>
<entry><link
linkend="ini.ingres.reuse-connection">ingres.reuse_connection</link></entry>
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since ingres 2.0.0</entry>
</row>
<row>
<entry><link linkend="ini.ingres.scrollable">ingres.scrollable</link></entry>
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since ingres 2.0.0.</entry>
</row>
<row>
<entry><link linkend="ini.ingres.trace">ingres.trace</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since ingres 2.0.0.</entry>
</row>
<row>
<entry><link
linkend="ini.ingres.trace-connect">ingres.trace_connect</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since ingres 1.2.1.</entry>
</row>
<row>
<entry><link linkend="ini.ingres.utf8">ingres.utf8</link></entry>
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since ingres 2.0.0.</entry>
</row>
</tbody>
</tgroup>
</table>
&ini.php.constants;
</para>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry xml:id="ini.ingres.allow-persistent">
<term>
<parameter>ingres.allow_persistent</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
Specifies whether to allow
<link linkend="features.persistent-connections">persistent connections</link>
to Ingres
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ingres.array-index-start">
<term>
<parameter>ingres.array_index_start</parameter>
<type>integer</type>
</term>
<listitem>
<para>
Specifies the start value for an integer key for arrays
generated by <function>ingres_fetch_row</function> or
<function>ingres_fetch_array</function>. By default
<parameter>ingres.array_index_start</parameter> is set to 1. If you wish
to make the ingres extension behave like other database extensions set
this configuration option to 0.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ingres.auto">
<term>
<parameter>ingres.auto</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
Enables or disables autocommit emulation. Ingres cannot have multiple cursors
open with autocommit enabled. When enabled, the driver emulates autocommit.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ingres.blob-segment-length">
<term>
<parameter>ingres.blob_segment_length</parameter>
<type>integer</type>
</term>
<listitem>
<para>
Specifies the amount of memory to use when reading BLOB data, in bytes
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ingres.cursor-mode">
<term>
<parameter>ingres.cursor_mode</parameter>
<type>integer</type>
</term>
<listitem>
<para>
Specifies the default mode for cursors opened with ingres_prepare(). Valid values
are <constant>INGRES_CURSOR_UPDATE</constant> or <constant>INGRES_CURSOR_READONLY</constant>.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ingres.default-database">
<term>
<parameter>ingres.default_database</parameter>
<type>string</type>
</term>
<listitem>
<para>
Specifies the default database name to use when connecting to the database
server if no other name is specified. Does not apply in
&sqlsafemode;.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ingres.default-password">
<term>
<parameter>ingres.default_password</parameter>
<type>string</type>
</term>
<listitem>
<para>
Specifies the default password to use when connecting to the database
server if no other name is specified. Does not apply in
&sqlsafemode;.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ingres.default-user">
<term>
<parameter>ingres.default_user</parameter>
<type>string</type>
</term>
<listitem>
<para>
Specifies the default user name to use when connecting to the database
server if no other name is specified. Does not apply in
&sqlsafemode;.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ingres.describe">
<term>
<parameter>ingres.describe</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
Enables the use of <literal>DESCRIBE INPUT</literal> to determine the expected data types
for queries that use parameters. Available with Ingres 9.1.0 and later.
When disabled, queries that have parameters passed may need to manually
describe the types of those parameters using the <link
linkend="function.ingres-query.types">types</link> parameter in
<function>ingres_query</function>.
</para>
<note>
<para>
Enabling this feature with <function>ingres_query</function> will cause additional
communications traffic between this extension and the server. To
minimize this additional traffic, use <function>ingres_prepare</function> and
<function>ingres_execute</function>.
</para>
</note>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ingres.fetch-buffer-size">
<term>
<parameter>ingres.fetch_buffer_size</parameter>
<type>integer</type>
</term>
<listitem>
<para>
Specifies the number of pre-fetch rows that <function>ingres_fetch_array</function>,
<function>ingres_fetch_object</function> and
<function>ingres_fetch_row</function> will try and fetch in one fetch operation.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ingres.max-links">
<term>
<parameter>ingres.max_links</parameter>
<type>integer</type>
</term>
<listitem>
<para>
Specifies the maximum number of Ingres sessions allowed per process or thread.
The number of sessions should not exceed the total number of
connected sessions configured within Ingres.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ingres.max-persistent">
<term>
<parameter>ingres.max_persistent</parameter>
<type>integer</type>
</term>
<listitem>
<para>
Specifies the maximum number of persistent Ingres sessions allowed per process or
thread. The number of sessions should not exceed the total
number of connected sessions configured within Ingres.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ingres.reuse-connection">
<term>
<parameter>ingres.reuse_connection</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
Reuses an existing active connection if connecting to the same database
with the same user name
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ingres.scrollable">
<term>
<parameter>ingres.scrollable</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
Enables support for scrollable cursors. When fetching CLOB or BLOB data, this
should be set to &false;. Available with Ingres 9.2.0 or later.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ingres.trace">
<term>
<parameter>ingres.trace</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
Enables simple tracing using <constant>E_NOTICE</constant> messages
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ingres.trace-connect">
<term>
<parameter>ingres.trace_connect</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
Prints <constant>E_NOTICE</constant> messages during
<function>ingres_connect</function> or <function>ingres_pconnect</function> calls
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.ingres.utf8">
<term>
<parameter>ingres.utf8</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
Assumes that strings being passed to National Character column types
(<literal>NVARCHAR</literal> or <literal>NCHAR</literal>) are using UTF8 encoding and converts them to UTF16
for the server
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
|