Tag Archives: postgresql

PostgreSQL Sequence Updates

I had a problem with PostgreSQL pgdump recently.  My setval() calls were all set to ’1′.  I whipped up this quick script to fix things: