Search Postgresql Archives

Re: postgresql not updating the sequence

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/05/2011 08:10, kosna wrote:
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.

Can you show us your query? Also, are you using any sort of framework or ORM, or just sending the query directly to the server?

The more detail you give, the better people will be able to help you.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@xxxxxx

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux