I am using postgresql, and was wondering how large
id INTEGER PRIMARY KEY
can get compared to
id SERIAL PRIMARY KEY
In java an int
is 4 bytes (32 bits) so it can get up to 2,147,483,647. Is this the case in postgresql? If so does that mean I cannot go past 2,147,483,647 rows?