aboutsummaryrefslogtreecommitdiff
path: root/src/pl/tcl/sql/pltcl_queries.sql
Commit message (Collapse)AuthorAge
* Support triggers on views.Tom Lane2010-10-10
| | | | | | | | | | | | | | | 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.
* Remove extra newlines at end and beginning of files, add missing newlinesPeter Eisentraut2010-08-19
| | | | at end of files.
* TG_table_name and TG_table_schema for pl/tcl, plus regression test and docs.Andrew Dunstan2006-05-27
|
* Convert the existing regression test scripts for the various optionalTom Lane2005-05-14
PLs to use the standard pg_regress infrastructure. No changes in the tests themselves. Andrew Dunstan