Use NUMERIC if you're concerned about overflow. The integer datatypes are just C integers, and C doesn't provide any reasonable way to detect overflow in integer arithmetic... regards, tom lane
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных