mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add table_name and table_schema to plperl trigger data. relname is
kept but now deprecated. Patch from Adam Sjøgren. Add regression test to show plperl trigger data (Andrew). TBD: apply similar changes to plpgsql, plpython and pltcl.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.52 2006/03/10 19:10:48 momjian Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.53 2006/05/26 17:34:16 adunstan Exp $ -->
|
||||
|
||||
<chapter id="plperl">
|
||||
<title>PL/Perl - Perl Procedural Language</title>
|
||||
@ -728,7 +728,7 @@ $$ LANGUAGE plperl;
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>$_TD->{relname}</literal></term>
|
||||
<term><literal>$_TD->{table_name}</literal></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Name of the table on which the trigger fired
|
||||
@ -736,6 +736,26 @@ $$ LANGUAGE plperl;
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>$_TD->{relname}</literal></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Name of the table on which the trigger fired. This has been deprecated,
|
||||
and could be removed in a future release.
|
||||
Please use $_TD->{table_name} instead.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>$_TD->{table_schema}</literal></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Name of the schema in which the table on which the trigger fired, is
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>$_TD->{argc}</literal></term>
|
||||
<listitem>
|
||||
|
Reference in New Issue
Block a user