BIGINTは、サイズが8バイトの整数型。
https://www.postgresql.jp/docs/9.4/datatype-numeric.html#DATATYPE-INT
postgresdb1=# CREATE TABLE bigint_table(name VARCHAR(32), number BIGINT);
CREATE TABLE
postgresdb1=# INSERT INTO bigint_table VALUES('min', -9223372036854775808);
INSERT 0 1
postgresdb1=# INSERT INTO bigint_table VALUES('max', 9223372036854775807);
INSERT 0 1
postgresdb1=# INSERT INTO bigint_table VALUES('min', -9223372036854775809);
ERROR: bigintの範囲外です
postgresdb1=# INSERT INTO bigint_table VALUES('max', 9223372036854775808);
ERROR: bigintの範囲外です
postgresdb1=# SELECT * FROM bigint_table;
name | number
------+----------------------
min | -9223372036854775808
max | 9223372036854775807
(2 行)
postgresdb1=#-9223372036854775808から9223372036854775807までの値が入る。