What is equivalent of Long data type in PostgreSQL? June 29, 2023 by Tarik According to the docs it looks like bigint is your friend, with a range of -9223372036854775808 to 9223372036854775807.