fordfrog / apgdiff

Another PostgreSQL Diff Tool
http://www.apgdiff.com
MIT License
355 stars 138 forks source link

DROPs are not ordered around dependencies #157

Open samjgarnham opened 9 years ago

samjgarnham commented 9 years ago

There can be dependencies between VIEWs, FUNCTIONs and TABLEs, so they cannot be DROPped in certain orders. Although apgdiff generates the correct DROP commands, it doesn't order them to observe the dependencies.