Обсуждение: Writting Trigger for Truncate event

Поиск
Список
Период
Сортировка

Writting Trigger for Truncate event

От
Jignesh Shah
Дата:
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