What is equivalent of Long data type in PostgreSQL?
Solution 1:
According to the docs it looks like bigint
is your friend, with a range of -9223372036854775808 to 9223372036854775807.
Solution 2:
Should be a bigint
bigint 8 bytes large-range integer -9223372036854775808 to 9223372036854775807
From here: http://www.postgresql.org/docs/current/interactive/datatype-numeric.html