📄 pgsql.configuration.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Runtime Configuration</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="pgsql.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="pgsql.resources.html">Resource Types</a></div> <div class="up"><a href="pgsql.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="pgsql.configuration" class="section"> <h2 class="title">Runtime Configuration</h2> <p class="simpara">The behaviour of these functions is affected by settings in <var class="filename">php.ini</var>.</p> <p class="para"> <table border="5"> <caption><b>PostgreSQL configuration options</b></caption> <colgroup> <thead valign="middle"> <tr valign="middle"> <th colspan="1">Name</th> <th colspan="1">Default</th> <th colspan="1">Changeable</th> <th colspan="1">Changelog</th> </tr> </thead> <tbody valign="middle" class="tbody"> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">pgsql.allow_persistent</td> <td colspan="1" rowspan="1" align="left">"1"</td> <td colspan="1" rowspan="1" align="left">PHP_INI_SYSTEM</td> <td class="empty"> </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">pgsql.max_persistent</td> <td colspan="1" rowspan="1" align="left">"-1"</td> <td colspan="1" rowspan="1" align="left">PHP_INI_SYSTEM</td> <td class="empty"> </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">pgsql.max_links</td> <td colspan="1" rowspan="1" align="left">"-1"</td> <td colspan="1" rowspan="1" align="left">PHP_INI_SYSTEM</td> <td class="empty"> </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">pgsql.auto_reset_persistent</td> <td colspan="1" rowspan="1" align="left">"0"</td> <td colspan="1" rowspan="1" align="left">PHP_INI_SYSTEM</td> <td colspan="1" rowspan="1" align="left">Available since PHP 4.2.0.</td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">pgsql.ignore_notice</td> <td colspan="1" rowspan="1" align="left">"0"</td> <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td> <td colspan="1" rowspan="1" align="left">Available since PHP 4.3.0.</td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">pgsql.log_notice</td> <td colspan="1" rowspan="1" align="left">"0"</td> <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td> <td colspan="1" rowspan="1" align="left">Available since PHP 4.3.0.</td> </tr> </tbody> </colgroup> </table> For further details and definitions of the PHP_INI_* constants, see the <a href="ini.html" class="xref">php.ini directives</a>. </p> <p class="para">Here's a short explanation ofthe configuration directives.</p> <p class="para"> <dl> <dt id="ini.pgsql.allow-persistent"> <span class="term"> <i><tt class="parameter">pgsql.allow_persistent</tt></i> <a href="language.types.boolean.html" class="type boolean">boolean</a> </span> <dd> <p class="para"> Whether to allow persistent Postgres connections. </p> </dd> </dt> <dt id="ini.pgsql.max-persistent"> <span class="term"> <i><tt class="parameter">pgsql.max_persistent</tt></i> <a href="language.types.integer.html" class="type integer">integer</a> </span> <dd> <p class="para"> The maximum number of persistent Postgres connections per process. </p> </dd> </dt> <dt id="ini.pgsql.max-links"> <span class="term"> <i><tt class="parameter">pgsql.max_links</tt></i> <a href="language.types.integer.html" class="type integer">integer</a> </span> <dd> <p class="para"> The maximum number of Postgres connections per process, including persistent connections. </p> </dd> </dt> <dt id="ini.pgsql.auto-reset-persistent"> <span class="term"> <i><tt class="parameter">pgsql.auto_reset_persistent</tt></i> <a href="language.types.integer.html" class="type integer">integer</a> </span> <dd> <p class="para"> Detect broken persistent links with <a href="function.pg-pconnect.html" class="function">pg_pconnect()</a>. Needs a little overhead. </p> </dd> </dt> <dt id="ini.pgsql.ignore-notice"> <span class="term"> <i><tt class="parameter">pgsql.ignore_notice</tt></i> <a href="language.types.integer.html" class="type integer">integer</a> </span> <dd> <p class="para"> Whether or not to ignore PostgreSQL backend notices. </p> </dd> </dt> <dt id="ini.pgsql.log-notice"> <span class="term"> <i><tt class="parameter">pgsql.log_notice</tt></i> <a href="language.types.integer.html" class="type integer">integer</a> </span> <dd> <p class="para"> Whether or not to log PostgreSQL backends notice messages. The PHP directive <a href="pgsql.configuration.html#ini.pgsql.ignore-notice" class="link"> pgsql.ignore_notice</a> must be off in order to log notice messages. </p> </dd> </dt> </dl> </p></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="pgsql.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="pgsql.resources.html">Resource Types</a></div> <div class="up"><a href="pgsql.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -