Обсуждение: PL/pgSQL adn triggers

Поиск
Список
Период
Сортировка

PL/pgSQL adn triggers

От
Jason Tan
Дата:
Is there anyay to access the query text that activates a trgger.

Ie if the query is fired on an inseert on a row, is it possible to get hte
actual sql of the query eg
"insert on triggered_row values(val1,val2);"


What I want to do is record each sql query executed on certain tables to
a logging table.


Regards
Jason