update table column values to increment starting from zero postgres code example Example: postgresql update auto_increment value ALTER SEQUENCE product_id_seq RESTART WITH 1453