Postgresql Auto Increment Id Using Wrong