Writting Trigger for Truncate event - Mailing list pgsql-novice

From Jignesh Shah
Subject Writting Trigger for Truncate event
Date
Msg-id c11950270908252333t6ce52427i3752369a6613a43a@mail.gmail.com
Whole thread Raw
List pgsql-novice
Hi,
 
The PostgreSQL documentation says that it can be created only at statement level and don't have any way to examine individual rows modified by statement. I couldn't find any statement level trigger example. Though document says statement level trigger executes when an appropriate statement executed,  could any one please give me example of Truncate event trigger and what is the meaning of "appropriate statement"? 
 
Thanks,
Jignesh

pgsql-novice by date:

Previous
From: Jignesh Shah
Date:
Subject: Re: Install new perl test function in PostgreSQL
Next
From: Michael Wood
Date:
Subject: Re: Install new perl test function in PostgreSQL