mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Whitespace fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183638 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
85caf84cd8
commit
760c733d17
7 changed files with 49 additions and 48 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.pg-affected-rows">
|
||||
<refnamediv>
|
||||
|
@ -47,8 +47,9 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
The number of rows affected by the query. If no tuple is
|
||||
affected, it will return 0.</para>
|
||||
The number of rows affected by the query. If no tuple is
|
||||
affected, it will return 0.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.16 -->
|
||||
<refentry id="function.pg-client-encoding">
|
||||
<refnamediv>
|
||||
|
@ -16,8 +16,8 @@
|
|||
<methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
PostgreSQL supports automatic character set conversion between
|
||||
server and client for certain character sets.
|
||||
PostgreSQL supports automatic character set conversion between
|
||||
server and client for certain character sets.
|
||||
<function>pg_client_encoding</function> returns the client
|
||||
encoding as a string. The returned string will be one of the
|
||||
standard PostgreSQL encoding identifiers.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 -->
|
||||
<refentry id="function.pg-close">
|
||||
<refnamediv>
|
||||
|
@ -45,7 +45,7 @@
|
|||
<function>pg_connect</function> or <function>pg_pconnect</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -53,7 +53,7 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&true; on success, &false; on failure.
|
||||
&true; on success, &false; on failure.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.pg-connect">
|
||||
<refnamediv>
|
||||
|
@ -40,34 +40,34 @@
|
|||
<varlistentry>
|
||||
<term><parameter>connection_string</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The <parameter>connection_string</parameter> can be empty to use all default parameters, or it
|
||||
can contain one or more parameter settings separated by whitespace.
|
||||
Each parameter setting is in the form <literal>keyword = value</literal>. Spaces around
|
||||
the equal sign are optional. To write an empty value or a value
|
||||
containing spaces, surround it with single quotes, e.g., <literal>keyword =
|
||||
'a value'</literal>. Single quotes and backslashes within the value must be
|
||||
escaped with a backslash, i.e., \' and \\.
|
||||
</para>
|
||||
<para>
|
||||
The currently recognized parameter keywords are:
|
||||
<parameter>host</parameter>, <parameter>hostaddr</parameter>, <parameter>port</parameter>,
|
||||
<parameter>dbname</parameter>, <parameter>user</parameter>,
|
||||
<parameter>password</parameter>, <parameter>connect_timeout</parameter>,
|
||||
<parameter>options</parameter>, <parameter>tty</parameter> (ignored), <parameter>sslmode</parameter>,
|
||||
<parameter>requiressl</parameter> (deprecated in favor of <parameter>sslmode</parameter>), and
|
||||
<parameter>service</parameter>. Which of these arguments exist depends
|
||||
on your PostgreSQL version.
|
||||
</para>
|
||||
<para>
|
||||
The <parameter>connection_string</parameter> can be empty to use all default parameters, or it
|
||||
can contain one or more parameter settings separated by whitespace.
|
||||
Each parameter setting is in the form <literal>keyword = value</literal>. Spaces around
|
||||
the equal sign are optional. To write an empty value or a value
|
||||
containing spaces, surround it with single quotes, e.g., <literal>keyword =
|
||||
'a value'</literal>. Single quotes and backslashes within the value must be
|
||||
escaped with a backslash, i.e., \' and \\.
|
||||
</para>
|
||||
<para>
|
||||
The currently recognized parameter keywords are:
|
||||
<parameter>host</parameter>, <parameter>hostaddr</parameter>, <parameter>port</parameter>,
|
||||
<parameter>dbname</parameter>, <parameter>user</parameter>,
|
||||
<parameter>password</parameter>, <parameter>connect_timeout</parameter>,
|
||||
<parameter>options</parameter>, <parameter>tty</parameter> (ignored), <parameter>sslmode</parameter>,
|
||||
<parameter>requiressl</parameter> (deprecated in favor of <parameter>sslmode</parameter>), and
|
||||
<parameter>service</parameter>. Which of these arguments exist depends
|
||||
on your PostgreSQL version.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>connect_type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
If <constant>PGSQL_CONNECT_FORCE_NEW</constant> is passed, then a new connection
|
||||
is created, even if the <parameter>connection_string</parameter> is identical to
|
||||
an existing connection.
|
||||
If <constant>PGSQL_CONNECT_FORCE_NEW</constant> is passed, then a new connection
|
||||
is created, even if the <parameter>connection_string</parameter> is identical to
|
||||
an existing connection.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -78,7 +78,7 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
PostgreSQL connection resource on success, &false; on failure.
|
||||
PostgreSQL connection resource on success, &false; on failure.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.pg-num-fields">
|
||||
<refnamediv>
|
||||
|
@ -45,7 +45,7 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
The number of fields (columns) in the result. On error, -1 is returned.
|
||||
The number of fields (columns) in the result. On error, -1 is returned.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.pg-num-rows">
|
||||
<refnamediv>
|
||||
|
@ -45,7 +45,7 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
The number of rows in the result. On error, -1 is returned.
|
||||
The number of rows in the result. On error, -1 is returned.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.16 -->
|
||||
<refentry id="function.pg-set-error-verbosity">
|
||||
<refnamediv>
|
||||
|
@ -26,13 +26,13 @@
|
|||
and <function>pg_result_error</function>.
|
||||
</para>
|
||||
<para>
|
||||
<function>pg_set_error_verbosity</function> sets the verbosity mode, returning the connection's previous
|
||||
setting. In <literal>TERSE</literal> mode, returned messages include severity, primary text, and
|
||||
position only; this will normally fit on a single line. The default mode
|
||||
produces messages that include the above plus any detail, hint, or context
|
||||
fields (these may span multiple lines). The <literal>VERBOSE</literal> mode includes all available
|
||||
fields. Changing the verbosity does not affect the messages available from
|
||||
already-existing result objects, only subsequently-created ones.
|
||||
<function>pg_set_error_verbosity</function> sets the verbosity mode, returning the connection's previous
|
||||
setting. In <literal>TERSE</literal> mode, returned messages include severity, primary text, and
|
||||
position only; this will normally fit on a single line. The default mode
|
||||
produces messages that include the above plus any detail, hint, or context
|
||||
fields (these may span multiple lines). The <literal>VERBOSE</literal> mode includes all available
|
||||
fields. Changing the verbosity does not affect the messages available from
|
||||
already-existing result objects, only subsequently-created ones.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -56,8 +56,8 @@
|
|||
<listitem>
|
||||
<para>
|
||||
The required verbosity: <literal>PGSQL_ERRORS_TERSE</literal>,
|
||||
<literal>PGSQL_ERRORS_DEFAULT</literal>
|
||||
or <literal>PGSQL_ERRORS_VERBOSE</literal>.
|
||||
<literal>PGSQL_ERRORS_DEFAULT</literal>
|
||||
or <literal>PGSQL_ERRORS_VERBOSE</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
Loading…
Reference in a new issue