PostgreSQL - Ordering Table based of Foreign Key

Поиск
Список
Период
Сортировка
От FOUTE K. Jaurès
Тема PostgreSQL - Ordering Table based of Foreign Key
Дата
Msg-id CAHQ1jfekP6=H-sEzBucctW4kF-jWyEo_rXRDGVsth3EtMQ5aSg@mail.gmail.com
обсуждение исходный текст
Ответы Re: PostgreSQL - Ordering Table based of Foreign Key  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Re: PostgreSQL - Ordering Table based of Foreign Key  (Thomas Kellerer <shammat@gmx.net>)
Re: PostgreSQL - Ordering Table based of Foreign Key  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
Hello,

I want to order tables based on the foreign key so that I can delete tables one by one without facing "ERROR: update or delete on table "table" violates foreign key constraint. DETAIL: Key is still referenced from table"

Any help is appreciated.
Thank you in advance.

Best regards
Jaurès FOUTE

В списке pgsql-general по дате отправления:

Предыдущее
От: Shaozhong SHI
Дата:
Сообщение: PostgreSQL CHECK Constraint
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: PostgreSQL - Ordering Table based of Foreign Key