Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
blackenedgem
71 days ago
|
parent
|
context
|
favorite
| on:
PostgreSQL and UUID as Primary Key
You can start the sequence at -2b, or wrap it around when it gets close to the signed limit. Hopefully you haven't depended on it not wrapping around by that point.
For queue tables you can even use `CYCLE` to do that automatically.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
For queue tables you can even use `CYCLE` to do that automatically.