Tom Lane wrote:
authorBruce Momjian
Fri, 13 Feb 2004 04:40:06 +0000 (04:40 +0000)
committerBruce Momjian
Fri, 13 Feb 2004 04:40:06 +0000 (04:40 +0000)
[email protected] (Bruce Momjian) writes:
>>      someone asked me about the FK deadlock fix, mentioned in the 7.3.3
>>      release notes as 3rd change:
>>      http://www.postgresql.org/docs/current/static/release-7-3-3.html
>>      Actually, that fix was available with 7.4, not 7.3. Don't know if we can
>>      retroactively change the release-notes though.
>
> This is completely erroneous, please undo it.
>
> 2003-05-21 14:14  tgl
>
>       * src/: backend/utils/adt/ri_triggers.c,
>       test/regress/expected/foreign_key.out (REL7_3_STABLE): Back-patch
>       Jan's fix to avoid primary key lookup (and lock) if foreign key
>       does not change on UPDATE.

Oh ... didn't know that you did a backpatch. Sorry

Jan

HISTORY
doc/src/sgml/release.sgml

diff --git a/HISTORY b/HISTORY
index 037010b135decf89bbfc8ef9cb912a20485b7ebd..c40ff2608866bb5dd261a6bb7cb7f3fb0b8cd9a0 100644 (file)
--- a/HISTORY
+++ b/HISTORY
@@ -462,8 +462,6 @@ Query Changes
        In prior releases, LIMIT/OFFSET could only use constants, not
        expressions.
      * Implement CREATE TABLE AS EXECUTE (Neil, Peter)
-     * Don't lock referenced row when "UPDATE" doesn't change foreign
-       key's value (Jan)
      _________________________________________________________________
    
 Object Manipulation Changes
@@ -940,6 +938,8 @@ Changes
      * Repair sometimes-incorrect computation of StartUpID after a crash
      * Avoid slowness with lots of deferred triggers in one transaction
        (Stephan)
+     * Don't lock referenced row when "UPDATE" doesn't change foreign
+       key's value (Jan)
      * Use "-fPIC" not "-fpic" on Sparc (Tom Callaway)
      * Repair lack of schema-awareness in contrib/reindexdb
      * Fix contrib/intarray error for zero-element result array (Teodor)
index cb0d8d8ba271f3c728bea60403b40a5110b5c6c2..cdaabb0b893806c229ecfd5daebc9a7630933c54 100644 (file)
@@ -1,5 +1,5 @@
 
 
 
@@ -1056,7 +1056,6 @@ DROP SCHEMA information_schema CASCADE;
     
      Implement CREATE TABLE AS EXECUTE (Neil, Peter)
     
-    Don't lock referenced row when UPDATE doesn't change foreign key's value (Jan)
    
   
 
@@ -2090,6 +2089,7 @@ DROP SCHEMA information_schema CASCADE;
 
 Repair sometimes-incorrect computation of StartUpID after a crash
 Avoid slowness with lots of deferred triggers in one transaction (Stephan)
+Don't lock referenced row when UPDATE doesn't change foreign key's value (Jan)
 Use -fPIC not -fpic on Sparc (Tom Callaway)
 Repair lack of schema-awareness in contrib/reindexdb
 Fix contrib/intarray error for zero-element result array (Teodor)