Re: Automatic deletion of orphaned rows

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Automatic deletion of orphaned rows
Дата
Msg-id CAKFQuwa9Z3OiEHA6ZLMdJc=ScaBy=TVL5wMUBVXUtOY08r1tXw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Automatic deletion of orphaned rows  (Ron Johnson <ronljohnsonjr@gmail.com>)
Ответы Re: Automatic deletion of orphaned rows
Список pgsql-general
On Wednesday, January 22, 2025, Ron Johnson <ronljohnsonjr@gmail.com> wrote:

I therefore propose a feature, to be able to specify in a table schema
that a row should be deleted if orphaned.

For one thing, rows can't be orphaned if there's a foreign key reference. 

The description was correct even though using probably imprecise terminology.  The basic goal is to delete childless parents.

David J.

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