Verifique o valor da sequência atual Postgres
SELECT last_value FROM sequence_name;
Stormy Stoat
SELECT last_value FROM sequence_name;