postgresql/src/backend/commands
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
..
aggregatecmds.c Completion of project to use fixed OIDs for all system catalogs and 2005-04-14 20:03:27 +00:00
alter.c
analyze.c For some reason access/tupmacs.h has been #including utils/memutils.h, 2005-05-06 17:24:55 +00:00
async.c For some reason access/tupmacs.h has been #including utils/memutils.h, 2005-05-06 17:24:55 +00:00
cluster.c Report index name on CLUSTER failure. Also, suggest ALTER TABLE 2005-05-10 13:16:26 +00:00
comment.c Completion of project to use fixed OIDs for all system catalogs and 2005-04-14 20:03:27 +00:00
conversioncmds.c Alter the signature for encoding conversion functions to declare the 2005-05-03 19:17:59 +00:00
copy.c Add COPY WITH CVS HEADER to allow a heading line as the first line in 2005-05-07 02:22:49 +00:00
dbcommands.c Split the shared-memory array of PGPROC pointers out of the sinval 2005-05-19 21:35:48 +00:00
define.c
explain.c Remove support for OR'd indexscans internal to a single IndexScan plan 2005-04-25 01:30:14 +00:00
functioncmds.c Completion of project to use fixed OIDs for all system catalogs and 2005-04-14 20:03:27 +00:00
indexcmds.c For some reason access/tupmacs.h has been #including utils/memutils.h, 2005-05-06 17:24:55 +00:00
lockcmds.c
Makefile
opclasscmds.c Completion of project to use fixed OIDs for all system catalogs and 2005-04-14 20:03:27 +00:00
operatorcmds.c Completion of project to use fixed OIDs for all system catalogs and 2005-04-14 20:03:27 +00:00
portalcmds.c Implement sharable row-level locks, and use them for foreign key references 2005-04-28 21:47:18 +00:00
prepare.c Modify hash_search() API to prevent future occurrences of the error 2005-05-29 04:23:07 +00:00
proclang.c Completion of project to use fixed OIDs for all system catalogs and 2005-04-14 20:03:27 +00:00
schemacmds.c Completion of project to use fixed OIDs for all system catalogs and 2005-04-14 20:03:27 +00:00
sequence.c Remove second argument from textToQualifiedNameList(), as it is no longer 2005-05-27 00:57:49 +00:00
tablecmds.c When enqueueing after-row triggers for updates of a table with a foreign 2005-05-30 07:20:59 +00:00
tablespace.c Back out check for unreferenced files. 2005-05-10 22:27:30 +00:00
trigger.c When enqueueing after-row triggers for updates of a table with a foreign 2005-05-30 07:20:59 +00:00
typecmds.c For some reason access/tupmacs.h has been #including utils/memutils.h, 2005-05-06 17:24:55 +00:00
user.c Completion of project to use fixed OIDs for all system catalogs and 2005-04-14 20:03:27 +00:00
vacuum.c Split the shared-memory array of PGPROC pointers out of the sinval 2005-05-19 21:35:48 +00:00
vacuumlazy.c Split the shared-memory array of PGPROC pointers out of the sinval 2005-05-19 21:35:48 +00:00
variable.c Attached patch gets rid of the global timezone in the following steps: 2005-04-19 03:13:59 +00:00
view.c