Getting an SQL statement inside a trigger. - Mailing list pgsql-general

From Omar Carvajal
Subject Getting an SQL statement inside a trigger.
Date
Msg-id 01083114142700.07085@power9.carvajal.com
Whole thread Raw
List pgsql-general
Hi there,
   I was wondering how I can get the SQL statement that made a trigger fire.
For example: insert into customers values(1, 'joe') fires get_customer() and
that function has a variable with the value "insert into customers values(1,
'joe') ". How can I do this?

Thanks in advance,
Omar

pgsql-general by date:

Previous
From: Doug McNaught
Date:
Subject: Re: PostgreSQL On the Mac? OS9 or OSX?
Next
From: Giuseppe Tanzilli - CSF
Date:
Subject: Re: Apache authentication