postgresql/src/backend/utils
Neil Conway adfeef55cb When enqueueing after-row triggers for updates of a table with a foreign
key, compare the new and old row versions. If the foreign key column has
not changed, we needn't enqueue the trigger, since the update cannot
violate the foreign key. This optimization was previously applied in the
RI trigger function, but it is more efficient to avoid firing the trigger
altogether. Per recent discussion on pgsql-hackers.

Also add a regression test for some unintuitive foreign key behavior, and
refactor some code that deals with the OIDs of the various RI trigger
functions.
2005-05-30 07:20:59 +00:00
..
adt When enqueueing after-row triggers for updates of a table with a foreign 2005-05-30 07:20:59 +00:00
cache Modify hash_search() API to prevent future occurrences of the error 2005-05-29 04:23:07 +00:00
error Fix problem with infinite recursion between write_syslogger_file and 2005-03-12 01:54:44 +00:00
fmgr Modify hash_search() API to prevent future occurrences of the error 2005-05-29 04:23:07 +00:00
hash Modify hash_search() API to prevent future occurrences of the error 2005-05-29 04:23:07 +00:00
init Split the shared-memory array of PGPROC pointers out of the sinval 2005-05-19 21:35:48 +00:00
mb Alter the signature for encoding conversion functions to declare the 2005-05-03 19:17:59 +00:00
misc Make superuser.c maintain a simple one-entry cache holding the superuser 2005-05-29 20:38:06 +00:00
mmgr Modify hash_search() API to prevent future occurrences of the error 2005-05-29 04:23:07 +00:00
resowner This file was whacked by pgindent before it knew it shouldn't remove 2005-04-06 04:34:22 +00:00
sort Add parentheses to macros when args are used in computations. Without 2005-05-25 21:40:43 +00:00
time Split the shared-memory array of PGPROC pointers out of the sinval 2005-05-19 21:35:48 +00:00
.cvsignore Cleanup to ensure good state of derived files in tarballs. 2000-06-09 02:38:36 +00:00
Gen_fmgrtab.sh Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
Makefile Invent ResourceOwner mechanism as per my recent proposal, and use it to 2004-07-17 03:32:14 +00:00