PL/pgSQL adn triggers
PL/pgSQL adn triggers
От:
Jason Tan <jason@rebel.rebel.net.au>
Дата:
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