postgresql/src/backend/utils
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
..
adt Support triggers on views. 2010-10-10 13:45:07 -04:00
cache Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
error Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
fmgr Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
hash Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
init Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
mb Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
misc Single-word clarification in postgresql.conf log_truncate_on_rotation 2010-10-08 19:10:21 +00:00
mmgr Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
resowner Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
sort Eliminate some repetitive coding in tuplesort.c. 2010-10-07 20:32:21 -04:00
time Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
Gen_dummy_probes.sed Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
Gen_fmgrtab.pl Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
probes.d Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00