If in SQL Server we have a table with auto-increment, and 10 rows, and the last row has id = 10
.
When you delete the last row, the next you insert will get the id = 10
too, right?
But in Postgres, using bigserial
as PK, when I delete the row with the max id
, and insert a new row, it keeps incrementing more and more the pk number..
Is that right?