]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Tom Lane wrote:
authorBruce Momjian <bruce@momjian.us>
Fri, 13 Feb 2004 04:40:43 +0000 (04:40 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 13 Feb 2004 04:40:43 +0000 (04:40 +0000)
> momjian@svr1.postgresql.org (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 27ca99aed6ddbe101ca15f4755c04d655255711c..8de1c4c00c75679f3a16bf27268e63aeae6b3fe7 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.235.2.17 2004/02/12 20:18:13 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.235.2.18 2004/02/13 04:40:43 momjian Exp $
 -->
 
 <appendix id="release">
@@ -1054,7 +1054,6 @@ DROP SCHEMA information_schema CASCADE;
     <listitem>
      <para>Implement <literal>CREATE TABLE AS EXECUTE</literal> (Neil, Peter)</para>
     </listitem>
-    <listitem><para>Don't lock referenced row when <command>UPDATE</command> doesn't change foreign key's value (Jan)</para></listitem>
    </itemizedlist>
   </sect3>
 
@@ -2087,6 +2086,7 @@ DROP SCHEMA information_schema CASCADE;
 <itemizedlist>
 <listitem><para>Repair sometimes-incorrect computation of StartUpID after a crash</para></listitem>
 <listitem><para>Avoid slowness with lots of deferred triggers in one transaction (Stephan)</para></listitem>
+<listitem><para>Don't lock referenced row when <command>UPDATE</command> doesn't change foreign key's value (Jan)</para></listitem>
 <listitem><para>Use <command>-fPIC</command> not <command>-fpic</command> on Sparc (Tom Callaway)</para></listitem>
 <listitem><para>Repair lack of schema-awareness in contrib/reindexdb</para></listitem>
 <listitem><para>Fix contrib/intarray error for zero-element result array (Teodor)</para></listitem>