Optionally calculate table size using pg_total_relation_size