Incrementally fetch MySQL/PGsql rows.

Fixes #5374