PHP PostgreSQL Количество рядов

 pg_num_rows(resource $result);
Helpless Hedgehog