PHP. Руководство по PHP. 2005
pg_fetch_array
pg_fetch_array
Описание
array pg_fetch_array (resource result [, int row [, int result_type]])pg_fetch_array() returns an array that
corresponds to the fetched row (record).
pg_fetch_array() is an extended version of
pg_fetch_row(). In addition to storing the
data in the numeric indices (field number) to the result array, it
can also store the data using associative indices (field name).
It stores both indicies by default.
Замечание: Эта функция устанавливает NULL-поля
в значение NULL PHP.
pg_fetch_array() is NOT significantly
slower than using pg_fetch_row(), and
is significantly easier to use.
Замечание:
row became optional in PHP 4.1.0.