didou Mon Jun 11 22:48:10 2007 UTC
Modified files: /phpdoc/en/reference/pgsql/functions pg-fetch-array.xml pg-fetch-assoc.xml pg-fetch-object.xml pg-fetch-row.xml pg-last-notice.xml pg-lo-import.xml Log: Use ChangeLog
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/functions/pg-fetch-array.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc/en/reference/pgsql/functions/pg-fetch-array.xml diff -u phpdoc/en/reference/pgsql/functions/pg-fetch-array.xml:1.13 phpdoc/en/reference/pgsql/functions/pg-fetch-array.xml:1.14 --- phpdoc/en/reference/pgsql/functions/pg-fetch-array.xml:1.13 Wed Apr 6 09:04:49 2005 +++ phpdoc/en/reference/pgsql/functions/pg-fetch-array.xml Mon Jun 11 22:48:10 2007 @@ -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 @@ </simplelist> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/functions/pg-fetch-assoc.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/pgsql/functions/pg-fetch-assoc.xml diff -u phpdoc/en/reference/pgsql/functions/pg-fetch-assoc.xml:1.11 phpdoc/en/reference/pgsql/functions/pg-fetch-assoc.xml:1.12 --- phpdoc/en/reference/pgsql/functions/pg-fetch-assoc.xml:1.11 Wed Apr 6 09:04:49 2005 +++ phpdoc/en/reference/pgsql/functions/pg-fetch-assoc.xml Mon Jun 11 22:48:10 2007 @@ -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> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/functions/pg-fetch-object.xml?r1=1.19&r2=1.20&diff_format=u Index: phpdoc/en/reference/pgsql/functions/pg-fetch-object.xml diff -u phpdoc/en/reference/pgsql/functions/pg-fetch-object.xml:1.19 phpdoc/en/reference/pgsql/functions/pg-fetch-object.xml:1.20 --- phpdoc/en/reference/pgsql/functions/pg-fetch-object.xml:1.19 Thu Aug 31 22:09:10 2006 +++ phpdoc/en/reference/pgsql/functions/pg-fetch-object.xml Mon Jun 11 22:48:10 2007 @@ -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> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/functions/pg-fetch-row.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc/en/reference/pgsql/functions/pg-fetch-row.xml diff -u phpdoc/en/reference/pgsql/functions/pg-fetch-row.xml:1.13 phpdoc/en/reference/pgsql/functions/pg-fetch-row.xml:1.14 --- phpdoc/en/reference/pgsql/functions/pg-fetch-row.xml:1.13 Tue Jun 21 23:32:37 2005 +++ phpdoc/en/reference/pgsql/functions/pg-fetch-row.xml Mon Jun 11 22:48:10 2007 @@ -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> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/functions/pg-last-notice.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/pgsql/functions/pg-last-notice.xml diff -u phpdoc/en/reference/pgsql/functions/pg-last-notice.xml:1.6 phpdoc/en/reference/pgsql/functions/pg-last-notice.xml:1.7 --- phpdoc/en/reference/pgsql/functions/pg-last-notice.xml:1.6 Mon Jul 4 04:44:21 2005 +++ phpdoc/en/reference/pgsql/functions/pg-last-notice.xml Mon Jun 11 22:48:10 2007 @@ -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 @@ </simplelist> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/functions/pg-lo-import.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/pgsql/functions/pg-lo-import.xml diff -u phpdoc/en/reference/pgsql/functions/pg-lo-import.xml:1.9 phpdoc/en/reference/pgsql/functions/pg-lo-import.xml:1.10 --- phpdoc/en/reference/pgsql/functions/pg-lo-import.xml:1.9 Thu Apr 21 09:29:05 2005 +++ phpdoc/en/reference/pgsql/functions/pg-lo-import.xml Mon Jun 11 22:48:10 2007 @@ -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> @@ -19,15 +19,6 @@ <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 source. @@ -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>