Jonathan Fuerth
unread,Feb 1, 2010, 10:59:00 AM2/1/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to architect-...@googlegroups.com
Hi developers,
Thomas Kellerer brought up an interesting point on the forum about how we could make DDL scripts shorter on databases that support the "DROP [object] CASCADE" syntax.
This sounds like something interesting to explore. My first concern is, what do we do about cross-schema constraints? In the current implementation, which drops all constraints we know about before dropping the table/column they depend on, the script would fail at that point. However, by using CASCADE, we would unknowingly and somewhat silently drop those cross-schema constraints, then fail to recreate them later.
Any ideas about this? Can we find a way to deal with this case, or convince ourselves it's not a big deal?
-Jonathan