Uruchom ponownie numer seryjny dla postgres

ALTER SEQUENCE tablename_columnname_seq RESTART WITH anynumber;
Witty Weevil