Re: protected ON DELETE CASCADE

Поиск
Список
Период
Сортировка
От Gregory Wood
Тема Re: protected ON DELETE CASCADE
Дата
Msg-id 003301c12be2$a72afc60$7889ffcc@comstock.com
обсуждение исходный текст
Ответ на Re: protected ON DELETE CASCADE  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-general
>     key  constraint  is  ON  DELETE  NO ACTION, which confusingly
>     enough aborts the transaction (it's defined that way  in  the
>     SQL  standard,  don't  ask  me why they called it NO ACTION).

NO ACTION because it takes no action on the child record? Makes sense when
you consider that otherwise you either CASCADE the delete to the child or
SET NULL for the child.

Greg


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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: protected ON DELETE CASCADE
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: SELECT FOR UPDATE