class Sequel::Postgres::Dataset

def fetch_rows(sql, &block)

the types.
Yield all rows returned by executing the given SQL and converting
def fetch_rows(sql, &block)
  return cursor_fetch_rows(sql, &block) if @opts[:cursor]
  execute(sql){|res| yield_hash_rows(res, fetch_rows_set_cols(res), &block)}
end