Re: Determining caller of a function (due to a cascaded FK constraint?)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Determining caller of a function (due to a cascaded FK constraint?)
Дата
Msg-id 6644.1160426049@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Determining caller of a function (due to a cascaded FK constraint?)  ("Lenorovitz, Joel" <Joel.Lenorovitz@usap.gov>)
Ответы Re: Determining caller of a function (due to a cascaded  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
Список pgsql-general
"Lenorovitz, Joel" <Joel.Lenorovitz@usap.gov> writes:
> I want to have a trigger that will copy some data from a table in one
> schema to an analogous table in another schema every time a record is
> modified UNLESS the modification is the result of a cascaded foreign key
> constraint.

Sorry, there isn't any reasonable way for a trigger to tell that.

            regards, tom lane

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

Предыдущее
От: "pobox@verysmall.org"
Дата:
Сообщение: plpgsql handling a set of values
Следующее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: Re: Determining caller of a function (due to a cascaded