diff --git a/reference/pgsql/functions/pg-fetch-array.xml b/reference/pgsql/functions/pg-fetch-array.xml index 6f409f3cf0..1351bfd76b 100644 --- a/reference/pgsql/functions/pg-fetch-array.xml +++ b/reference/pgsql/functions/pg-fetch-array.xml @@ -1,5 +1,5 @@ - + @@ -34,11 +34,12 @@ result_type is optional parameter controls how return value is initialized. result_type is a constant and can take the - following values: PGSQL_ASSOC, PGSQL_NUM, and PGSQL_BOTH. + following values: PGSQL_ASSOC, + PGSQL_NUM, and PGSQL_BOTH. pg_fetch_array returns associative array - that has field name as key for PGSQL_ASSOC. field index as key - with PGSQL_NUM and both field name/index as key with - PGSQL_BOTH. Default is PGSQL_BOTH. + that has field name as key for PGSQL_ASSOC. field index as key + with PGSQL_NUM and both field name/index as key with + PGSQL_BOTH. Default is PGSQL_BOTH. result_type was added in PHP 4.0. @@ -50,11 +51,6 @@ slower than using pg_fetch_row, while it provides a significant ease of use. - - See also pg_fetch_row and - pg_fetch_object and - pg_fetch_result. - PostgreSQL fetch array @@ -83,6 +79,12 @@ echo $arr["author"] . " <- array\n"; + + See also + pg_fetch_row, + pg_fetch_object and + pg_fetch_result. + From 4.1.0, row became optional. diff --git a/reference/pgsql/functions/pg-fetch-assoc.xml b/reference/pgsql/functions/pg-fetch-assoc.xml index 9fbc1064a8..f64f969de2 100644 --- a/reference/pgsql/functions/pg-fetch-assoc.xml +++ b/reference/pgsql/functions/pg-fetch-assoc.xml @@ -1,5 +1,5 @@ - + @@ -66,6 +66,13 @@ echo $arr["author"] . " <- array\n"; + + See also + pg_fetch_row, + pg_fetch_array, + pg_fetch_object, and + pg_fetch_result. + diff --git a/reference/pgsql/functions/pg-fetch-object.xml b/reference/pgsql/functions/pg-fetch-object.xml index 26625c3241..bdf8eeb9d7 100644 --- a/reference/pgsql/functions/pg-fetch-object.xml +++ b/reference/pgsql/functions/pg-fetch-object.xml @@ -1,5 +1,5 @@ - + @@ -49,10 +49,6 @@ result_type may be deleted in future versions. - - See also pg_query, pg_fetch_array, - pg_fetch_row and pg_fetch_result. - Postgres fetch object @@ -102,6 +98,13 @@ pg_close ($db_conn); + + See also + pg_query, + pg_fetch_array, + pg_fetch_row and + pg_fetch_result. + From 4.1.0, row became optional. diff --git a/reference/pgsql/functions/pg-fetch-row.xml b/reference/pgsql/functions/pg-fetch-row.xml index 3906f4828f..a22e723f5b 100644 --- a/reference/pgsql/functions/pg-fetch-row.xml +++ b/reference/pgsql/functions/pg-fetch-row.xml @@ -1,5 +1,5 @@ - + @@ -24,12 +24,6 @@ It returns an array that corresponds to the fetched row, or &false; if there are no more rows. - - See also: pg_query, - pg_fetch_array, - pg_fetch_object and - pg_fetch_result. - Postgres fetch row @@ -62,6 +56,13 @@ while ($row = pg_fetch_row($result, $i)) { + + See also + pg_query, + pg_fetch_array, + pg_fetch_object, and + pg_fetch_result. + From 4.1.0, row became optional.