diff --git a/reference/pgsql/functions/pg-fetch-array.xml b/reference/pgsql/functions/pg-fetch-array.xml index 44d0468e3b..208227b937 100644 --- a/reference/pgsql/functions/pg-fetch-array.xml +++ b/reference/pgsql/functions/pg-fetch-array.xml @@ -1,5 +1,5 @@ - + @@ -32,16 +32,6 @@ slower than using pg_fetch_row, and is significantly easier to use. - - - row became optional in PHP 4.1.0. - - - - - result_type was added in PHP 4.0.0. - - @@ -102,7 +92,37 @@ of rows in the set, there are no more rows, or on any other error. - + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 4.1.0 + + The row parameter was added. + + + + 4.0.0 + + The result_type parameter was added. + + + + + + + + &reftitle.examples; @@ -156,6 +176,7 @@ echo $arr[1] . " <- Row 3 E-mail\n"; + + @@ -31,11 +31,6 @@ slower than using pg_fetch_row, and is significantly easier to use. - - - row became optional in PHP 4.1.0. - - @@ -78,7 +73,31 @@ of rows in the set, there are no more rows, or on any other error. - + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 4.1.0 + + The parameter row became optional. + + + + + + + + &reftitle.examples; diff --git a/reference/pgsql/functions/pg-fetch-object.xml b/reference/pgsql/functions/pg-fetch-object.xml index e351739cd3..4f385d998c 100644 --- a/reference/pgsql/functions/pg-fetch-object.xml +++ b/reference/pgsql/functions/pg-fetch-object.xml @@ -1,5 +1,5 @@ - + @@ -35,25 +35,6 @@ pg_fetch_row (the difference is insignificant). - - - row became optional in PHP 4.1.0. - - - - - result_type default changed from PGSQL_BOTH - to PGSQL_ASSOC from PHP 4.3.0, since the numeric index was - illegal. - - - - - class_name and params were - added in PHP 5.0. The old form with result_type - still exists for backwards compatibility. - - @@ -121,7 +102,47 @@ of rows in the set, there are no more rows, or on any other error. - + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.0.0 + + class_name and params + were added. The old form with result_type + still exists for backwards compatibility. + + + + 4.3.0 + + result_type default changed from + PGSQL_BOTH to PGSQL_ASSOC, + since the numeric index was illegal. + + + + 4.1.0 + + The parameter row became optional. + + + + + + + + &reftitle.examples; diff --git a/reference/pgsql/functions/pg-fetch-row.xml b/reference/pgsql/functions/pg-fetch-row.xml index 38fa997ce2..df7e13448e 100644 --- a/reference/pgsql/functions/pg-fetch-row.xml +++ b/reference/pgsql/functions/pg-fetch-row.xml @@ -1,5 +1,5 @@ - + @@ -21,11 +21,6 @@ result resource. &database.fetch-null; - - - From PHP 4.1.0, row became optional. - - @@ -67,7 +62,31 @@ of rows in the set, there are no more rows, or on any other error. - + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 4.1.0 + + The parameter row became optional. + + + + + + + + &reftitle.examples; diff --git a/reference/pgsql/functions/pg-last-notice.xml b/reference/pgsql/functions/pg-last-notice.xml index 7ff1995762..f044cda7bb 100644 --- a/reference/pgsql/functions/pg-last-notice.xml +++ b/reference/pgsql/functions/pg-last-notice.xml @@ -1,5 +1,5 @@ - + @@ -26,32 +26,18 @@ With pg_last_notice, you can avoid issuing useless queries by checking whether or not the notice is related to your transaction. - - - This function is EXPERIMENTAL and it is not fully implemented - yet. pg_last_notice 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 - pg_last_notice. - - - This function is fully implemented in PHP 4.3.0. PHP earlier than - PHP 4.3.0 ignores database connection parameter. - - Notice message tracking can be set to optional by setting 1 for - pgsql.ignore_notice in &php.ini; from PHP 4.3.0. + pgsql.ignore_notice in &php.ini;. Notice message logging can be set to optional by setting 0 for - pgsql.log_notice in &php.ini; from PHP 4.3.0. + pgsql.log_notice in &php.ini;. Unless pgsql.ignore_notice is set to 0, notice message cannot be logged. - + &reftitle.parameters; @@ -76,6 +62,46 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 4.3.0 + + This function is now fully implemented. Earlier versions ignores + database connection parameter. + + + + 4.3.0 + + The pgsql.ignore_notice and + pgsql.log_notice &php.ini; directives were added. + + + + 4.0.6 + + 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 pg_last_notice. + + + + + + + + &reftitle.examples; @@ -113,6 +139,7 @@ CREATE TABLE will create implicit sequence "test_id_seq" for "serial" column "te + + @@ -18,15 +18,6 @@ intpg_lo_import stringpathname - - In versions before PHP 4.2.0 the syntax of this function was different, - see the following definition: - - - intpg_lo_import - stringpathname - resourceconnection - pg_lo_import creates a new large object in the database using a file on the filesystem as its data @@ -79,7 +70,36 @@ &false; on failure. - + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 4.2.0 + + The syntax of this function changed. It used to be: + + intpg_lo_import + stringpathname + resourceconnection + + + + + + + + + &reftitle.examples;