manifesto42.com
How to list and alter table sequences in PostgreSQL
So you screwed up with your ninja manual inserts on some lost and forgotten table. In such a way that when your shiny django backoffice gives you a fullscreen yellow error about duplicate keys. Wha…