Re: table name firing trigger - Mailing list pgsql-novice

From Tom Lane
Subject Re: table name firing trigger
Date
Msg-id 5266.1092235462@sss.pgh.pa.us
Whole thread Raw
In response to table name firing trigger  (Raphael Bauduin <raphael.bauduin@be.easynet.net>)
Responses Re: table name firing trigger
List pgsql-novice
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

pgsql-novice by date:

Previous
From: Mester József
Date:
Subject: dbf2pg missing
Next
From: "Taber, Mark"
Date:
Subject: Another 'db session' question...