For storing snapshots of postgres index stats
For storing snapshots of postgres table stats
Returns all rows from a cursor as a dict