2011/5/4 kosna <skosna(at)yahoo(dot)com>:
> hi everyone,
>
> i ve created a table with id and datatype of id is serial
> and i ve created a sequence on that table
> whenever i insert the new row values the id is not being incremented and it
> is giving the exception entityalreadyexists. pls help me
> thanks and regards,
> kosna.
Could you send us the result of \d your_table ?
The column has a 'nextval' ?
--
Dickson S. Guedes
mail/xmpp: guedes(at)guedesoft(dot)net - skype: guediz
http://guedesoft.net - http://www.postgresql.org.br