What is equivalent of Long data type in PostgreSQL?

前端 未结 2 1701
萌比男神i
萌比男神i 2021-02-03 16:58

I want to know what\'s the equivalent of Long data type in PostgreSQL?

相关标签:
2条回答
  • 2021-02-03 17:16

    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

    0 讨论(0)
  • 2021-02-03 17:28

    According to the docs it looks like bigint is your friend, with a range of -9223372036854775808 to 9223372036854775807.

    0 讨论(0)
提交回复
热议问题