PL/pgSQL adn triggers

From: Jason Tan <jason(at)rebel(dot)rebel(dot)net(dot)au>
To: pgsql-novice(at)postgresql(dot)org
Subject: PL/pgSQL adn triggers
Date: 2001-08-31 07:04:20
Message-ID: Pine.LNX.3.95.1010831163216.9410O-100000@rebel.rebel.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


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

Browse pgsql-novice by date

  From Date Subject
Next Message jik 2001-08-31 20:03:58 renaming a db
Previous Message D. Duccini 2001-08-30 18:21:37 Re: Install Problem