Raphael Bauduin <raphael.bauduin@be.easynet.net> writes:
> Does a function executed by a trigger know which table fired the trigger?
Depends what language you're writing the trigger in, but I believe most
of them do. For plpgsql see
http://www.postgresql.org/docs/7.4/static/plpgsql-trigger.html
regards, tom lane