plpgsql trigger original query - Mailing list pgsql-general

From Dan99
Subject plpgsql trigger original query
Date
Msg-id 1189475431.097392.49490@22g2000hsm.googlegroups.com
Whole thread Raw
Responses Re: plpgsql trigger original query
List pgsql-general
Hi,

I am looking for a way to get the original query that caused a trigger
to fire.  I need to be able to get this query either inside the
trigger itself (and then send it to the function the trigger calls) or
get it in the end function.  Is this doable? The reason i am asking is
that I would like to be able to send a variable (this variable would
come from php where the original query is executed) to the end
function called by the trigger.

Any help with this would be greatly appreciated.

Thanks,
Dan


pgsql-general by date:

Previous
From: Max
Date:
Subject: Re: arrays of foreign keys
Next
From: finecur
Date:
Subject: constrains on two tables