Advice - Mailing list pgsql-general

From Manuel García
Subject Advice
Date
Msg-id 001a01c5614f$aa25c5c0$a018000a@mercurio
Whole thread Raw
List pgsql-general

Hi, I am Manuel and I want to catch the full sentence executed on one table, at the moment I have one function in C, that function is  invoking by  trigger, but I need to catch the full sentence, by example insert into tempo values (1,2,’x’) or update tempo set a=2, b=’x’ where a=3 or delete  from tempo where a=3, nowadays I have gotten only the data affected and of course the columns names.

 

 Somebody knows how I can get the part about the where? , or maybe all the sentence?

 

Thank in advanced

 Atte. Manuel

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Update on tables when the row doesn't change
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Using PG 8.0 with OpenSSL