getting the sizing right for postgres is a pain