Is there a way to force the delete to cascade to tables in a specific order?
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных