pg_fetch_all Fetch all rows from a result as an array Description arraypg_fetch_all resourceresult pg_fetch_all returns an array that contains all rows (tuples/records) in result resource. It returns &false;, if there are no rows. PostgreSQL fetch all ]]> See also pg_fetch_row, pg_fetch_array, pg_fetch_object and pg_fetch_result.