On Dec 17, 2004, at 1:23 AM, Richard Sydney-Smith wrote:
> I expect this has been done MANY times and I wonder if a general
> purpose trigger exists or if not then can someone point me to an
> example set of triggers?
I'm not aware of a "general purpose" trigger for this. If you just want
some extra trigger examples other than what is in the documentation,
there is a test file in the distribution with quite a few:
src/test/regress/sql/plpgsql.sql
Best,
John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL