George Woodring <george.woodring@xxxxxxxxxx> writes: > When using FOREIGN KEY ON DELETE CASCADE, is there an order the entries are > being deleted? No, there's no particular attempt to order the deletions. Each cascaded delete ought to be removing a disjoint set of rows in the referencing table, so I'm not quite sure why order should matter. regards, tom lane