postgresql/src/backend/access/transam
Bruce Momjian 1b7f3cc02d This patch implements FOR EACH STATEMENT triggers, per my email to
-hackers a couple days ago.

Notes/caveats:

        - added regression tests for the new functionality, all
          regression tests pass on my machine

        - added pg_dump support

        - updated PL/PgSQL to support per-statement triggers; didn't
          look at the other procedural languages.

        - there's (even) more code duplication in trigger.c than there
          was previously. Any suggestions on how to refactor the
          ExecXXXTriggers() functions to reuse more code would be
          welcome -- I took a brief look at it, but couldn't see an
          easy way to do it (there are several subtly-different
          versions of the code in question)

        - updated the documentation. I also took the liberty of
          removing a big chunk of duplicated syntax documentation in
          the Programmer's Guide on triggers, and moving that
          information to the CREATE TRIGGER reference page.

        - I also included some spelling fixes and similar small
          cleanups I noticed while making the changes. If you'd like
          me to split those into a separate patch, let me know.

Neil Conway
2002-11-23 03:59:09 +00:00
..
clog.c Ensure that before truncating CLOG, we force a checkpoint even if no 2002-09-26 22:58:34 +00:00
Makefile Replace implementation of pg_log as a relation accessed through the 2001-08-25 18:52:43 +00:00
rmgr.c Replace implementation of pg_log as a relation accessed through the 2001-08-25 18:52:43 +00:00
transam.c pgindent run. 2002-09-04 20:31:48 +00:00
varsup.c pgindent run. 2002-09-04 20:31:48 +00:00
xact.c This patch implements FOR EACH STATEMENT triggers, per my email to 2002-11-23 03:59:09 +00:00
xid.c Update copyright to 2002. 2002-06-20 20:29:54 +00:00
xlog.c This patch removes a bunch of superfluous #include directives: if 2002-11-08 20:23:57 +00:00
xlogutils.c Update copyright to 2002. 2002-06-20 20:29:54 +00:00