1
0
mirror of https://github.com/php/doc-zh.git synced 2026-03-24 07:02:15 +01:00
Files
Gina Peter Banyard 37f6128cc9 Apply revchecked skipped commit c60943fefc4ff8950460e76d714a463437cf0eb2
Replace PHP_INI_* with INI_* constants
2024-01-26 14:00:18 +00:00

164 lines
4.2 KiB
XML
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: a0ae28d3bc85f927c22649ebd9a590b921534b7d Maintainer: HonestQiao Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<section xml:id="pgsql.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
<para>
<table>
<title>PostgreSQL 配置选项</title>
<tgroup cols="4">
<thead>
<row>
<entry>&Name;</entry>
<entry>&Default;</entry>
<entry>&Changeable;</entry>
<entry>&Changelog;</entry>
</row>
</thead>
<tbody xml:id="pgsql.configuration.list">
<row>
<entry><link linkend="ini.pgsql.allow-persistent">pgsql.allow_persistent</link></entry>
<entry>"1"</entry>
<entry><constant>INI_SYSTEM</constant></entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.pgsql.max-persistent">pgsql.max_persistent</link></entry>
<entry>"-1"</entry>
<entry><constant>INI_SYSTEM</constant></entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.pgsql.max-links">pgsql.max_links</link></entry>
<entry>"-1"</entry>
<entry><constant>INI_SYSTEM</constant></entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.pgsql.auto-reset-persistent">pgsql.auto_reset_persistent</link></entry>
<entry>"0"</entry>
<entry><constant>INI_SYSTEM</constant></entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.pgsql.ignore-notice">pgsql.ignore_notice</link></entry>
<entry>"0"</entry>
<entry><constant>INI_ALL</constant></entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.pgsql.log-notice">pgsql.log_notice</link></entry>
<entry>"0"</entry>
<entry><constant>INI_ALL</constant></entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
&ini.php.constants;
</para>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry xml:id="ini.pgsql.allow-persistent">
<term>
<parameter>pgsql.allow_persistent</parameter>
<type>bool</type>
</term>
<listitem>
<para>
是否允许持久的 Postgres 连接。
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.pgsql.max-persistent">
<term>
<parameter>pgsql.max_persistent</parameter>
<type>int</type>
</term>
<listitem>
<para>
每个进程所能有的持久 Postgres 连接数目。
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.pgsql.max-links">
<term>
<parameter>pgsql.max_links</parameter>
<type>int</type>
</term>
<listitem>
<para>
每个进程所能有的 Postgres 连接数目,包括持久连接。
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.pgsql.auto-reset-persistent">
<term>
<parameter>pgsql.auto_reset_persistent</parameter>
<type>int</type>
</term>
<listitem>
<para>
检测用在 <function>pg_pconnect</function> 上的中断了的持久连接。需要一些损耗。
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.pgsql.ignore-notice">
<term>
<parameter>pgsql.ignore_notice</parameter>
<type>int</type>
</term>
<listitem>
<para>
是否忽略 PostgreSQL 后端的通告。
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.pgsql.log-notice">
<term>
<parameter>pgsql.log_notice</parameter>
<type>int</type>
</term>
<listitem>
<para>
是否记录 PostgreSQL 后端的通告消息。要记录通告消息日志PHP
指令 <link linkend="ini.pgsql.ignore-notice">pgsql.ignore_notice</link> 必须为 off。
</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
-->