<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/pgsql.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'pgsql.configuration.php',
    1 => '运行时配置',
    2 => '运行时配置',
  ),
  'up' => 
  array (
    0 => 'pgsql.setup.php',
    1 => '安装/配置',
  ),
  'prev' => 
  array (
    0 => 'pgsql.installation.php',
    1 => '安装',
  ),
  'next' => 
  array (
    0 => 'pgsql.resources.php',
    1 => '资源类型',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'reference/pgsql/ini.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="pgsql.configuration" class="section">
 <h2 class="title">运行时配置</h2>
 <p class="simpara">
这些函数的行为受 <var class="filename">php.ini</var> 中的设置影响。
</p>
 <p class="para">
 <table class="doctable table">
  <caption><strong>PostgreSQL 配置选项</strong></caption>
  
   <thead>
    <tr>
     <th>名字</th>
     <th>默认</th>
     <th>可修改范围</th>
     <th>更新日志</th>
    </tr>

   </thead>

   <tbody class="tbody">
    <tr>
     <td><a href="pgsql.configuration.php#ini.pgsql.allow-persistent" class="link">pgsql.allow_persistent</a></td>
     <td>&quot;1&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="pgsql.configuration.php#ini.pgsql.max-persistent" class="link">pgsql.max_persistent</a></td>
     <td>&quot;-1&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="pgsql.configuration.php#ini.pgsql.max-links" class="link">pgsql.max_links</a></td>
     <td>&quot;-1&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="pgsql.configuration.php#ini.pgsql.auto-reset-persistent" class="link">pgsql.auto_reset_persistent</a></td>
     <td>&quot;0&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="pgsql.configuration.php#ini.pgsql.ignore-notice" class="link">pgsql.ignore_notice</a></td>
     <td>&quot;0&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="pgsql.configuration.php#ini.pgsql.log-notice" class="link">pgsql.log_notice</a></td>
     <td>&quot;0&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

   </tbody>
  
 </table>

  有关 INI_* 样式的更多详情与定义，见 <a href="configuration.changes.modes.php" class="xref">配置可被设定范围</a>。
  </p>
  <p class="para">这是配置指令的简短说明。</p>
  <p class="para">
  <dl>

   
    <dt id="ini.pgsql.allow-persistent">
     <code class="parameter">pgsql.allow_persistent</code>
     <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
    </dt>
    <dd>
     <p class="para">
      是否允许持久的 Postgres 连接。
     </p>
    </dd>
   

   
    <dt id="ini.pgsql.max-persistent">
     <code class="parameter">pgsql.max_persistent</code>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      每个进程所能有的持久 Postgres 连接数目。
     </p>
    </dd>
   

   
    <dt id="ini.pgsql.max-links">
     <code class="parameter">pgsql.max_links</code>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      每个进程所能有的 Postgres 连接数目，包括持久连接。
     </p>
    </dd>
   
   
    <dt id="ini.pgsql.auto-reset-persistent">
     <code class="parameter">pgsql.auto_reset_persistent</code>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      检测用在 <span class="function"><a href="function.pg-pconnect.php" class="function">pg_pconnect()</a></span> 上的中断了的持久连接。需要一些损耗。
     </p>
    </dd>
   

   
    <dt id="ini.pgsql.ignore-notice">
     <code class="parameter">pgsql.ignore_notice</code>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      是否忽略 PostgreSQL 后端的通告。
     </p>
    </dd>
   

   
    <dt id="ini.pgsql.log-notice">
     <code class="parameter">pgsql.log_notice</code>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
    </dt>
    <dd>
     <p class="para">
      是否记录 PostgreSQL 后端的通告消息。要记录通告消息日志，PHP
      指令 <a href="pgsql.configuration.php#ini.pgsql.ignore-notice" class="link">pgsql.ignore_notice</a> 必须为 off。
     </p>
    </dd>
   

  </dl>
 </p>

</div><?php manual_footer($setup); ?>