mirror of
https://github.com/php/doc-zh.git
synced 2026-03-29 10:32:22 +02:00
git-svn-id: https://svn.php.net/repository/phpdoc/zh/trunk@97440 c90b9560-bf6c-de11-be94-00142212c4b1
121 lines
2.6 KiB
XML
Executable File
121 lines
2.6 KiB
XML
Executable File
<?xml version="1.0" encoding="gb2312"?>
|
|
<!-- $Revision: 1.3 $ -->
|
|
<!-- $Author: dallas $ -->
|
|
<!-- EN-Revision: 1.2 Maintainer: dallas Status: ready -->
|
|
<section id="pgsql.configuration">
|
|
&reftitle.runtime;
|
|
&extension.runtime;
|
|
<para>
|
|
<table>
|
|
<title>PostgreSQL 配置选项</title>
|
|
<tgroup cols="3">
|
|
<thead>
|
|
<row>
|
|
<entry>名称</entry>
|
|
<entry>默认值</entry>
|
|
<entry>可变范围</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry>pgsql.allow_persistent</entry>
|
|
<entry>"1"</entry>
|
|
<entry>PHP_INI_SYSTEM</entry>
|
|
</row>
|
|
<row>
|
|
<entry>pgsql.max_persistent</entry>
|
|
<entry>"-1"</entry>
|
|
<entry>PHP_INI_SYSTEM</entry>
|
|
</row>
|
|
<row>
|
|
<entry>pgsql.max_links</entry>
|
|
<entry>"-1"</entry>
|
|
<entry>PHP_INI_SYSTEM</entry>
|
|
</row>
|
|
<row>
|
|
<entry>pgsql.auto_reset_persistent</entry>
|
|
<entry>"0"</entry>
|
|
<entry>PHP_INI_SYSTEM</entry>
|
|
</row>
|
|
<row>
|
|
<entry>pgsql.ignore_notice</entry>
|
|
<entry>"0"</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
</row>
|
|
<row>
|
|
<entry>pgsql.log_notice</entry>
|
|
<entry>"0"</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
PHP_INI_* 常量的更多细节和定义参见 <function>ini_set</function>。
|
|
</para>
|
|
<para>
|
|
下面是配置指令的简短说明。
|
|
<variablelist>
|
|
|
|
<varlistentry id="ini.pgsql.allow-persistent">
|
|
<term>
|
|
<parameter>pgsql.allow_persistent</parameter>
|
|
<type>boolean</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
是否允许持久的 Postgres 连接。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="ini.pgsql.max-persistent">
|
|
<term>
|
|
<parameter>pgsql.max_persistent</parameter>
|
|
<type>integer</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
每个进程所能有的持久 Postgres 连接数目。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="ini.pgsql.max-links">
|
|
<term>
|
|
<parameter>pgsql.max_links</parameter>
|
|
<type>integer</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
每个进程所能有的 Postgres 连接数目,包括持久连接。
|
|
</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:"../../../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
|
|
-->
|
|
|