From 1decc208ac813c8cd0398d91c613a56672aa788d Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Fri, 13 Feb 2004 04:40:06 +0000 Subject: [PATCH] Tom Lane wrote: > 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 | 4 ++-- doc/src/sgml/release.sgml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HISTORY b/HISTORY index 037010b135d..c40ff260886 100644 --- 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) diff --git a/doc/src/sgml/release.sgml b/doc/src/sgml/release.sgml index cb0d8d8ba27..cdaabb0b893 100644 --- a/doc/src/sgml/release.sgml +++ b/doc/src/sgml/release.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.254 2004/02/12 20:17:34 momjian Exp $ +$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.255 2004/02/13 04:40:06 momjian Exp $ --> <appendix id="release"> @@ -1056,7 +1056,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> @@ -2090,6 +2089,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> -- GitLab