Question regardding info available in customer C trigger function

Поиск
Список
Период
Сортировка
От Curtis H. Wilbar Jr.
Тема Question regardding info available in customer C trigger function
Дата
Msg-id 200104250105.VAA03355@fury.cw.ici.net
обсуждение исходный текст
Ответы Re: Question regardding info available in customer C trigger function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
I've been scouring the docs, but have not come up with answers for
all my questions.

I found out how to deal with trigger function arguments via PG_GETARG_xxx.

However, is there a way in my C function to determine the name of the
table and of the database that caused the trigger.  This trigger will
be used in several tables in several databases, and while I could pass
these names as parameters, it would be much easier to be able to determine
this via the context when called.

Any info would be greatly appreciated.

-- Curt

Curtis H. Wilbar Jr.
Hawk Mountain Networks
curtis@hawkmountain.net



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

Предыдущее
От: "Ludovic PENET"
Дата:
Сообщение: Translation
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Translation