#7731: PostgreSQL requires DROP ... CASCADE when reseting app on which other 
apps
depend
------------------------------+---------------------------------------------
 Reporter:  dp_wiz            |       Owner:  nobody    
   Status:  new               |   Milestone:            
Component:  Database wrapper  |     Version:  SVN       
 Keywords:                    |       Stage:  Unreviewed
Has_patch:  0                 |  
------------------------------+---------------------------------------------
 psql output (sql&error dump): http://dumpz.org/1631/
 Test project: http://narod.ru/disk/1425336000/reset-depended.tbz.html

 I dumped data from app and tried to reset it, got failure message
 complaining about dependent objects with a hint for CASCADE. But there's
 no way to ask reset code to [automatically] produce a SQL with CASCADE
 code.

 Reset code should temporarily disable (drop?) constraint for that
 dependent application and reenable(recreate) it afterwards.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/7731>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to