Re: Need help creating a BEFORE DELETE trigger

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: Need help creating a BEFORE DELETE trigger
Дата
Msg-id 1057020087.28657.106.camel@jester
обсуждение исходный текст
Ответ на Need help creating a BEFORE DELETE trigger  (Michael A Nachbaur <mike@nachbaur.com>)
Список pgsql-sql
> The problem I'm looking at is: could this cause a recursion problem, where the
> cascading deletion will try to cause the whole thing to cascade again?  How

It will only be able to delete the row (and cascade) once per row.  The
second time it tries to find the row, the row won't exist anymore.
--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: cleaning up useless pl/pgsql functions
Следующее
От: Erik Erkelens
Дата:
Сообщение: CREATE SEQUENCE fails in plpgsql function