On 12.12-08:28, Ana wrote:
[ ... ]
> Thank you both for the suggestions.  There is a problem with the
> sequence number in the primary keys.  When I created a new table
> without data the insert worked fine.    I will try to recreate the
> sequences and hope I don't have to re-enter the data.

you definately don't need to re-enter the data.  see my previous
mail but worst case scenario you'll have to write a quick script
that does
        SELECT nextval('yourcoolid_seq') ;
from the database until it's greater than
        SELECT MAX(id) FROM yourcool ;

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to