I came across this post (What is the difference between tinyint, smallint, mediumint, bigint and int in sql?) and realized that PostgreSQL does not support unsigned integer.
Can anyone help to explain why is it so?
Most of the time, I use unsigned integer as auto incremented primary key in MySQL. In such design, how can I overcome this when I port my database from MySQL to PostgreSQL?
Thanks.
serial
(1 to 2147483647) orbigserial
(1 to 9223372036854775807). A signed 64bit integer probably offers more than enough room. – mu is too short Dec 28 at 1:55