Trigger: what rows were deleted?

Поиск
Список
Период
Сортировка
От Ciprian Popovici
Тема Trigger: what rows were deleted?
Дата
Msg-id 1103291628.41c2e4ec382b1@imp.online.net
обсуждение исходный текст
Список pgsql-general
I'm trying to make a trigger, fired by DELETE. The associated function
needs to know what rows were deleted in order to perform a DELETE in
another table as well. (Foreign keys are not acceptable.) I don't seem
to be able to find this kind of info being passed to the function. The
special vars don't seem to have something useful. The arguments to the
trigger could help, but can they be made dynamical? Is there any way
of identifying the affected rows?

--
Ciprian Popovici

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

Предыдущее
От: "Florian G. Pflug"
Дата:
Сообщение: analyze-error: "cannot compare arrays of different element types" revisited
Следующее
От: Ciprian Popovici
Дата:
Сообщение: Re: Trigger: what rows were deleted?