seems to fix it to work as we were expecting. Is that particularly costly? Should I only set the constraint to be deferred when we really need it? Would it be more efficient to perform the deletes explicitly within a transaction rather than relying on the cascades and deferring that one constraint?
Our resident ex-Oracle DBA said that deferred constraints used to be heavily recommended against, but he also admitted that he hasn't kept up with that in the past 10 years.
"As an adolescent I aspired to lasting fame, I craved factual certainty, and I thirsted for a meaningful vision of human life -- so I became a scientist. This is like becoming an archbishop so you can meet girls." -- Matt Cartmill