Re: table name firing trigger

From: Raphael Bauduin <raphael(dot)bauduin(at)be(dot)easynet(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: table name firing trigger
Date: 2004-08-11 15:20:16
Message-ID: 411A3930.4010807@be.easynet.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Tom Lane wrote:
> Raphael Bauduin <raphael(dot)bauduin(at)be(dot)easynet(dot)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
>

Thanks! I don't understand how I managed to overlook that page as I'm using plpgsql.....

Raph

> regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Fuhr 2004-08-11 15:48:33 Re: table name firing trigger
Previous Message Tom Lane 2004-08-11 14:44:22 Re: table name firing trigger