postgresql/src/pl/plperl/sql
Tom Lane 2ec993a7cb Support triggers on views.
This patch adds the SQL-standard concept of an INSTEAD OF trigger, which
is fired instead of performing a physical insert/update/delete.  The
trigger function is passed the entire old and/or new rows of the view,
and must figure out what to do to the underlying tables to implement
the update.  So this feature can be used to implement updatable views
using trigger programming style rather than rule hacking.

In passing, this patch corrects the names of some columns in the
information_schema.triggers view.  It seems the SQL committee renamed
them somewhere between SQL:99 and SQL:2003.

Dean Rasheed, reviewed by Bernd Helmle; some additional hacking by me.
2010-10-10 13:45:07 -04:00
..
plperl.sql Remove extra newlines at end and beginning of files, add missing newlines 2010-08-19 05:57:36 +00:00
plperl_elog.sql Fix up plperl 'use_strict' so that it can be enabled or disabled on the 2005-08-24 18:16:58 +00:00
plperl_end.sql Add plperl.on_perl_init setting to provide for initializing the perl library on load. Also, handle END blocks in plperl. 2010-01-30 01:46:57 +00:00
plperl_init.sql Abandon the use of Perl's Safe.pm to enforce restrictions in plperl, as it is 2010-05-13 16:39:43 +00:00
plperl_plperlu.sql Abandon the use of Perl's Safe.pm to enforce restrictions in plperl, as it is 2010-05-13 16:39:43 +00:00
plperl_shared.sql Ensure $_SHARED is declared in the main:: namespace, per bugs #5570 and #5571. 2010-07-27 04:18:28 +00:00
plperl_trigger.sql Support triggers on views. 2010-10-10 13:45:07 -04:00
plperl_util.sql Add utility functions to PLPerl: 2010-01-20 01:08:21 +00:00
plperlu.sql Add plperl.on_plperl_init and plperl.on_plperlu_init settings for language-specific startup. Rename recently added plperl.on_perl_init to plperl.on_init. Also, code cleanup for utf8 hack. Patch from Tim Bunce, reviewed by Alex Hunsaker. 2010-02-12 19:35:25 +00:00