mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Use ChangeLog
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237442 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
817873327e
commit
06b7c30d6c
6 changed files with 203 additions and 76 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.pg-fetch-array">
|
||||
<refnamediv>
|
||||
|
@ -32,16 +32,6 @@
|
|||
slower than using <function>pg_fetch_row</function>, and
|
||||
is significantly easier to use.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
<parameter>row</parameter> became optional in PHP 4.1.0.
|
||||
</para>
|
||||
</note>
|
||||
<note>
|
||||
<para>
|
||||
<parameter>result_type</parameter> was added in PHP 4.0.0.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
|
@ -102,7 +92,37 @@
|
|||
of rows in the set, there are no more rows, or on any other error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>4.1.0</entry>
|
||||
<entry>
|
||||
The <parameter>row</parameter> parameter was added.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>4.0.0</entry>
|
||||
<entry>
|
||||
The <parameter>result_type</parameter> parameter was added.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
@ -156,6 +176,7 @@ echo $arr[1] . " <- Row 3 E-mail\n";
|
|||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.pg-fetch-assoc">
|
||||
<refnamediv>
|
||||
|
@ -31,11 +31,6 @@
|
|||
slower than using <function>pg_fetch_row</function>, and
|
||||
is significantly easier to use.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
<parameter>row</parameter> became optional in PHP 4.1.0.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
|
@ -78,7 +73,31 @@
|
|||
of rows in the set, there are no more rows, or on any other error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>4.1.0</entry>
|
||||
<entry>
|
||||
The parameter <parameter>row</parameter> became optional.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.19 $ -->
|
||||
<!-- $Revision: 1.20 $ -->
|
||||
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.pg-fetch-object">
|
||||
<refnamediv>
|
||||
|
@ -35,25 +35,6 @@
|
|||
<function>pg_fetch_row</function> (the difference is
|
||||
insignificant).
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
<parameter>row</parameter> became optional in PHP 4.1.0.
|
||||
</para>
|
||||
</note>
|
||||
<note>
|
||||
<para>
|
||||
<parameter>result_type</parameter> default changed from <constant>PGSQL_BOTH</constant>
|
||||
to <constant>PGSQL_ASSOC</constant> from PHP 4.3.0, since the numeric index was
|
||||
illegal.
|
||||
</para>
|
||||
</note>
|
||||
<note>
|
||||
<para>
|
||||
<parameter>class_name</parameter> and <parameter>params</parameter> were
|
||||
added in PHP 5.0. The old form with <parameter>result_type</parameter>
|
||||
still exists for backwards compatibility.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
|
@ -121,7 +102,47 @@
|
|||
of rows in the set, there are no more rows, or on any other error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>5.0.0</entry>
|
||||
<entry>
|
||||
<parameter>class_name</parameter> and <parameter>params</parameter>
|
||||
were added. The old form with <parameter>result_type</parameter>
|
||||
still exists for backwards compatibility.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>4.3.0</entry>
|
||||
<entry>
|
||||
<parameter>result_type</parameter> default changed from
|
||||
<constant>PGSQL_BOTH</constant> to <constant>PGSQL_ASSOC</constant>,
|
||||
since the numeric index was illegal.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>4.1.0</entry>
|
||||
<entry>
|
||||
The parameter <parameter>row</parameter> became optional.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.pg-fetch-row">
|
||||
<refnamediv>
|
||||
|
@ -21,11 +21,6 @@
|
|||
<parameter>result</parameter> resource.
|
||||
</para>
|
||||
&database.fetch-null;
|
||||
<note>
|
||||
<para>
|
||||
From PHP 4.1.0, <parameter>row</parameter> became optional.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
|
@ -67,7 +62,31 @@
|
|||
of rows in the set, there are no more rows, or on any other error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>4.1.0</entry>
|
||||
<entry>
|
||||
The parameter <parameter>row</parameter> became optional.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
|
|
@ -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.82 -->
|
||||
<refentry id="function.pg-last-notice">
|
||||
<refnamediv>
|
||||
|
@ -26,32 +26,18 @@
|
|||
With <function>pg_last_notice</function>, you can avoid issuing useless
|
||||
queries by checking whether or not the notice is related to your transaction.
|
||||
</para>
|
||||
<warning>
|
||||
<para>
|
||||
This function is EXPERIMENTAL and it is not fully implemented
|
||||
yet. <function>pg_last_notice</function> was added in PHP
|
||||
4.0.6. However, PHP 4.0.6 has problem with notice message
|
||||
handling. Use of the PostgreSQL module with PHP 4.0.6 is not
|
||||
recommended even if you are not using
|
||||
<function>pg_last_notice</function>.
|
||||
</para>
|
||||
<para>
|
||||
This function is fully implemented in PHP 4.3.0. PHP earlier than
|
||||
PHP 4.3.0 ignores database connection parameter.
|
||||
</para>
|
||||
</warning>
|
||||
<para>
|
||||
Notice message tracking can be set to optional by setting 1 for
|
||||
<literal>pgsql.ignore_notice</literal> in &php.ini; from PHP 4.3.0.
|
||||
<literal>pgsql.ignore_notice</literal> in &php.ini;.
|
||||
</para>
|
||||
<para>
|
||||
Notice message logging can be set to optional by setting 0 for
|
||||
<literal>pgsql.log_notice</literal> in &php.ini; from PHP 4.3.0.
|
||||
<literal>pgsql.log_notice</literal> in &php.ini;.
|
||||
Unless <literal>pgsql.ignore_notice</literal> is set
|
||||
to 0, notice message cannot be logged.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
|
@ -76,6 +62,46 @@
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>4.3.0</entry>
|
||||
<entry>
|
||||
This function is now fully implemented. Earlier versions ignores
|
||||
database connection parameter.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>4.3.0</entry>
|
||||
<entry>
|
||||
The <literal>pgsql.ignore_notice</literal> and
|
||||
<literal>pgsql.log_notice</literal> &php.ini; directives were added.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>4.0.6</entry>
|
||||
<entry>
|
||||
PHP 4.0.6 has problem with notice message handling. Use of the
|
||||
PostgreSQL module with PHP 4.0.6 is not recommended even if you are
|
||||
not using <function>pg_last_notice</function>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
@ -113,6 +139,7 @@ CREATE TABLE will create implicit sequence "test_id_seq" for "serial" column "te
|
|||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
|
@ -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.6 -->
|
||||
<refentry id="function.pg-lo-import">
|
||||
<refnamediv>
|
||||
|
@ -18,15 +18,6 @@
|
|||
<type>int</type><methodname>pg_lo_import</methodname>
|
||||
<methodparam><type>string</type><parameter>pathname</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
In versions before PHP 4.2.0 the syntax of this function was different,
|
||||
see the following definition:
|
||||
</para>
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>pg_lo_import</methodname>
|
||||
<methodparam><type>string</type><parameter>pathname</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>pg_lo_import</function> creates a new large object
|
||||
in the database using a file on the filesystem as its data
|
||||
|
@ -79,7 +70,36 @@
|
|||
&false; on failure.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>4.2.0</entry>
|
||||
<entry>
|
||||
The syntax of this function changed. It used to be:
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>pg_lo_import</methodname>
|
||||
<methodparam><type>string</type><parameter>pathname</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue