use postgresql_cursor gem to speed up fetching citegraph dump