Works around PG integer limitations