In Java I can say `Integer.MAX_VALUE` to get the largest number that the `int` type can hold.

Is there a similar constant/function in Postgres? I'd like to avoid hard-coding the number.

Edit: the reason I am asking is this. There is a legacy table with an ID of type `integer`, backed by a sequence. There is a lot of incoming rows into this table. I want to calculate how much time before the `integer` runs out, so I need to know "how many IDs are left" divided by "how fast we are spending them".