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

Поиск
Список
Период
Сортировка
От Lenorovitz, Joel
Тема Determining caller of a function (due to a cascaded FK constraint?)
Дата
Msg-id 7119BB016BDF6445B20A4B9F14F50B2D44A8A0@WILSON.usap.gov
обсуждение исходный текст
Ответы Re: [GENERAL] Determining caller of a function (due to a cascaded FK constraint?)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice

Greetings,

For reasons a little too complicated to get into off the bat, I am wondering what the most effective way is to determine by whom or how a particular action or function call was initiated. To shed more light, 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. My hunch is that the answer somehow includes using data in pg_class and/or pg_proc, but I haven't quite pieced it all together. Does anyone have any recommendations on how to go about this?

Thanks,
JL

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

Предыдущее
От: jsmesegue
Дата:
Сообщение: ODBC Connection from Cognos Framework Manager to postgresql
Следующее
От: Saranya Sivakumar
Дата:
Сообщение: pg_config not found