DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="PLPYTHON-TRIGGER"
>43.6. Trigger Functions</A
></H1
><P
>   When a function is used as a trigger, the dictionary
   <TT
CLASS="LITERAL"
>TD</TT
> contains trigger-related values:
   <P
></P
></P><DIV
CLASS="VARIABLELIST"
><DL
><DT
><TT
CLASS="LITERAL"
>TD["event"]</TT
></DT
><DD
><P
>       contains the event as a string:
       <TT
CLASS="LITERAL"
>INSERT</TT
>, <TT
CLASS="LITERAL"
>UPDATE</TT
>,
       <TT
CLASS="LITERAL"
>DELETE</TT
>, or <TT
CLASS="LI