Category Archives: Database

Adjusting a PostgreSQL Sequence

I recently had the unfortunate task at work of copying most of a production PostgreSQL database to a development server. The whole database would have been simple. It’s the “most of” part that made things messy. At any rate, I ended up in a position where I needed to make various incorrect “sequence” definitions match [...]