Сбросить счетчик постгров

-- This will also delete all the data in the table. So be careful.

TRUNCATE TABLE someTable RESTART IDENTITY;
Foolish Flatworm