We had a bit of a crisis last week: the sequences governing the primary keys in every single table of our PostgreSQL database reset to values that were in use around April l