svn: /phpdoc/zh/trunk/reference/pgsql/functions/ pg-connect-poll.xml pg-flush.xml
| From: | WeiJian Zhang | Date: | Fri, 07 Oct 2016 15:26:12 +0000 |
| Subject: | svn: /phpdoc/zh/trunk/reference/pgsql/functions/ pg-connect-poll.xml pg-flush.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-4706@lists.php.net to get a copy of this message | ||
bear Fri, 07 Oct 2016 15:26:12 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=340371
Log:
Complete the Chinese translation of pg_flush and pg_connect_poll.
Changed paths:
A phpdoc/zh/trunk/reference/pgsql/functions/pg-connect-poll.xml
A phpdoc/zh/trunk/reference/pgsql/functions/pg-flush.xml
Added: phpdoc/zh/trunk/reference/pgsql/functions/pg-connect-poll.xml
===================================================================
--- phpdoc/zh/trunk/reference/pgsql/functions/pg-connect-poll.xml (rev 0)
+++ phpdoc/zh/trunk/reference/pgsql/functions/pg-connect-poll.xml 2016-10-07 15:26:12 UTC (rev
340371)
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: $ -->
+<!-- EN-Revision: 334635 Maintainer: bear Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="function.pg-connect-poll" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>pg_connect_poll</refname>
+ <refpurpose>
+ 正在进行尝试轮询 PostgreSQL 链接状态。
+ </refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>int</type><methodname>pg_connect_poll</methodname>
+ <methodparam
choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ <function>pg_connect_poll</function> 轮询使用
<function>pg_connect</function> 创建的 PostgreSQL 链接状态,根据
+ <constant>PGSQL_CONNECT_ASYNC</constant> 选项
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <variablelist>
+ <varlistentry>
+ <term><parameter>connection</parameter></term>
+ <listitem>
+ <para>
+ PostgreSQL 数据库链接资源
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ 返回常量 <constant>PGSQL_POLLING_FAILED</constant>,
+ <constant>PGSQL_POLLING_READING</constant>,
+ <constant>PGSQL_POLLING_WRITING</constant>,
+ <constant>PGSQL_POLLING_OK</constant>, 或者
+ <constant>PGSQL_POLLING_ACTIVE</constant>.
+ </para>
+ </refsect1>
+</refentry>
+
+<!-- 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
+-->
Added: phpdoc/zh/trunk/reference/pgsql/functions/pg-flush.xml
===================================================================
--- phpdoc/zh/trunk/reference/pgsql/functions/pg-flush.xml (rev 0)
+++ phpdoc/zh/trunk/reference/pgsql/functions/pg-flush.xml 2016-10-07 15:26:12 UTC (rev 340371)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: $ -->
+<!-- EN-Revision: 334635 Maintainer: bear Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="function.pg-flush" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>pg_flush</refname>
+ <refpurpose>刷新链接中已处理的数据查询</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>mixed</type><methodname>pg_flush</methodname>
+
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ <function>pg_flush</function>
刷新任何已经处理的等待发送到链接的数据查询。
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <variablelist>
+ <varlistentry>
+ <term><parameter>connection</parameter></term>
+ <listitem>
+ <para>
+ PostgreSQL 数据库链接资源
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ 如果刷新成功或者没有数据等待刷新返回 &true; , 如果返回
<literal>0</literal> 为部分刷新或者更多未被刷新,刷新失败为 &false;
+ </para>
+ </refsect1>
+
+
+</refentry>
+
+<!-- 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
+-->