On 7/31/07, Kai Kuehne <[EMAIL PROTECTED]> wrote: > > Hi list, > I have a question regarding data imports with django > and postgres. > I used the database for my current application and used > the db-dump script from here: > http://www.djangosnippets.org/snippets/14/ > > When I load data into the database, I cannot insert new > data afterwards. (Some weird unique check errors.)
I would have to agree with lenducha's synopsis. If the sequence is not updated, you will run into duplicate ID problems. The easiest thing to do right now is update all of your sequence curvals to be something large, where large is defined as being greater than count(*) for each table. -- Kevin --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---