Re: Is this correct behavior for ON DELETE rule?

Поиск
Список
Период
Сортировка
От Rick Schumeyer
Тема Re: Is this correct behavior for ON DELETE rule?
Дата
Msg-id 000c01c51b9e$cede1210$0200a8c0@dell8200
обсуждение исходный текст
Ответ на Re: Is this correct behavior for ON DELETE rule?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Is this correct behavior for ON DELETE rule?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I suspected that might be part of the answer.

Would some combination of triggers work instead?  I've played
with those too, but without success.

>
> This is an ancient gotcha: as soon as you delete the book row, there is
> no longer any such entry in the bookview view ... and "old.id" is
> effectively a reference to the bookview view, so the second delete
> finds no matching rows.
>


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

Предыдущее
От: Ron Mayer
Дата:
Сообщение: Re: [PATCHES] A way to let Vacuum warn if FSM settings are low.
Следующее
От: "Rick Schumeyer"
Дата:
Сообщение: Re: Is this correct behavior for ON DELETE rule?