diff --git a/reference/pgsql/functions/pg-fetch-object.xml b/reference/pgsql/functions/pg-fetch-object.xml index 22d3d63591..17091cf310 100644 --- a/reference/pgsql/functions/pg-fetch-object.xml +++ b/reference/pgsql/functions/pg-fetch-object.xml @@ -1,5 +1,5 @@ - + @@ -12,6 +12,7 @@ objectpg_fetch_object resourceresult introw + intresult_type pg_fetch_object returns an object with @@ -35,6 +36,16 @@ pg_fetch_row (the difference is insignificant). + + + Form 4.3.0, result_type is default to PGSQL_ASSOC while + older versions' default was PGSQL_BOTH. There is no use for numeric property, + since numeric property name is invalid in PHP. + + + result_type may be deleted in future versions. + + See also pg_query, pg_fetch_array, pg_fetch_row and pg_fetch_result.