]> granicus.if.org Git - postgresql/commit
During looking stuff up for a discussion on -general, I realized that
authorBruce Momjian <bruce@momjian.us>
Wed, 11 Jun 2003 15:02:25 +0000 (15:02 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 11 Jun 2003 15:02:25 +0000 (15:02 +0000)
commit535756649f8989b460ca1b32803649cdcc6e5c63
tree71bb750c301c13346b1947585a100c8a0a75c45a
parent9167a566d632c975da9c1436e67637bc63c7eda1
During looking stuff up for a discussion on -general, I realized that
I'd placed the check for newly created matching pk rows for on update no
action earlier than it needed to be so that it'd check even when the key
values hadn't changed.  This patch moves it to after checking for NULLs
in the old row and comparing the values since the select's probably more
expensive.

Stephan Szabo
src/backend/utils/adt/ri_triggers.c