All,
I wrote this up on http://wiki.postgresql.org/wiki/ModificationTriggerGDQ
Please expand.
--Josh Berkus