I’ve looked for things like that, but it doesn’t seem like they’ve been
exposed in the Ruby API. If I try to make a DBI prepared statement, it
will just slurp-read the first time I call execute on it. The native
PostgreSQL-extension doesn’t seem to have any classes for cursors or
prepared statements, and neither does the pure Ruby version.
Does anyone know if ActiveRecord might be a solution? Does it have it’s
own implementation of a PostgreSQL connector?