# Sequence fixer for PostgreSQL This is a simple SQL script that will ensure that sequences in a PostgreSQL database are set to the correct value, based on the maximum value of the corresponding column in the table. Running this script is useful when you have imported data into a PostgreSQL database and the sequences are not set to the correct value. ## Disclaimer This script is provided as-is, without any warranty. Use at your own risk.