truncate trigger query - Mailing list pgsql-novice

From Jignesh Shah
Subject truncate trigger query
Date
Msg-id c11950270909142213t70470b84o1505fea4a87b5878@mail.gmail.com
Whole thread Raw
List pgsql-novice
Hi,
 
Could anyone please tell me if there is any way to know in perlpl whether truncate trigger invoked on empty table? Actually, I am updating my log table on truncate operation on my main table. If truncate query executed on empty main table then trigger should not update any rows in log table. Any help would be really helpful.
 
Thanks,
Jignesh

pgsql-novice by date:

Previous
From: Harshad RJ
Date:
Subject: Re: Reason for PG being seemingly I/O bound?
Next
From: Jasen Betts
Date:
Subject: Re: Download postgresql 7.4.1 windows