second attempt at fixing postgres integer limit