Vuoi prendere un record passando l'indice vero? (non sono sicuro di aver capito bene).

comunque su php.net alla voce pg_fetch_array trovi
codice:
pg_fetch_array

(PHP 3>= 3.0.1, PHP 4 , PHP 5)
pg_fetch_array -- Fetch a row as an array
Description
array pg_fetch_array ( resource result [, int row [, int result_type]] )

pg_fetch_array() returns an array that corresponds to the fetched row (tuples/records). It returns FALSE, if there are no more rows.
Vedi quell' int row?