Hacker News new | past | comments | ask | show | jobs | submit login

PostgreSQL doesn't give you an unsigned int option but if they did I wouldn't use it.

Having a negative pkey space is actually useful. In LSMB we reserve all negative id's for test cases, which are guaranteed to roll back. This has a number of advantages including the ability to run a full test run on a production system without any possibility of leaving traces in the db.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: