<!--
-$PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.35 2004/12/30 21:45:36 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.36 2005/01/17 03:04:17 momjian Exp $
-->
<chapter id="plperl">
</varlistentry>
<varlistentry>
- <term><literal>$_TD{name}</literal></term>
+ <term><literal>$_TD->{name}</literal></term>
<listitem>
<para>
Name of the trigger being called
</varlistentry>
<varlistentry>
- <term><literal>$_TD{event}</literal></term>
+ <term><literal>$_TD->{event}</literal></term>
<listitem>
<para>
Trigger event: <literal>INSERT</>, <literal>UPDATE</>, <literal>DELETE</>, or <literal>UNKNOWN</>
</varlistentry>
<varlistentry>
- <term><literal>$_TD{when}</literal></term>
+ <term><literal>$_TD->{when}</literal></term>
<listitem>
<para>
When the trigger was called: <literal>BEFORE</literal>, <literal>AFTER</literal>, or <literal>UNKNOWN</literal>
</varlistentry>
<varlistentry>
- <term><literal>$_TD{level}</literal></term>
+ <term><literal>$_TD->{level}</literal></term>
<listitem>
<para>
The trigger level: <literal>ROW</literal>, <literal>STATEMENT</literal>, or <literal>UNKNOWN</literal>
</varlistentry>
<varlistentry>
- <term><literal>$_TD{relid}</literal></term>
+ <term><literal>$_TD->{relid}</literal></term>
<listitem>
<para>
OID of the table on which the trigger fired
</varlistentry>
<varlistentry>
- <term><literal>$_TD{relname}</literal></term>
+ <term><literal>$_TD->{relname}</literal></term>
<listitem>
<para>
Name of the table on which the trigger fired
</varlistentry>
<varlistentry>
- <term><literal>@{$_TD{argv}}</literal></term>
+ <term><literal>@{$_TD->{argv}}</literal></term>
<listitem>
<para>
Arguments of the trigger function
</varlistentry>
<varlistentry>
- <term><literal>$_TD{argc}</literal></term>
+ <term><literal>$_TD->{argc}</literal></term>
<listitem>
<para>
Number of arguments of the trigger function