pg_num_rows Returns the number of rows in a result &reftitle.description; intpg_num_rows PgSql\Resultresult pg_num_rows will return the number of rows in an PgSql\Result instance. This function used to be called pg_numrows. &reftitle.parameters; result &pgsql.parameter.result; &reftitle.returnvalues; The number of rows in the result. On error, -1 is returned. &reftitle.changelog; &Version; &Description; &pgsql.changelog.result-object; &reftitle.examples; <function>pg_num_rows</function> example ]]> &example.outputs; &reftitle.seealso; pg_num_fields pg_affected_rows