Refresh AutoIncrement value in PostgreSQL 20 September 2022 Sometimes on import data to database, you have issue with not updated autoincement keys? Use this, to generate scripts for update all tables to their Extend ยป