Generating Custom Sequences in Postgres

Postgres, unlike MySQL, uses sequences for auto-incrementing IDs. It's a very powerful feature, and gives you a lot of control over how to store a primary key. But say you want to generate a unique value for a field in a table, only this value┬áis visible to the end user, and always increments by a … Continue reading Generating Custom Sequences in Postgres