Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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.


pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group