I have a database where everything is linked with foreign keys, so the Postgres knows exactly how the database is layed out..
Well, Lets say I have Table1 and Table2.>
Except for very rare scenarios, gaps in the PK sequence are just right, to intent to get rid of them is a bad idea.