pgsql: Fix longstanding bug found by Atsushi Ogawa: _bt_check_unique

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix longstanding bug found by Atsushi Ogawa: _bt_check_unique
Date: 2005-10-12 17:18:16
Message-ID: 20051012171816.45B70D7EA5@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix longstanding bug found by Atsushi Ogawa: _bt_check_unique would mark
the wrong buffer dirty when trying to kill a dead index entry that's on
a page after the one it started on. No risk of data corruption, just
inefficiency, but still a bug.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
pgsql/src/backend/access/nbtree:
nbtinsert.c (r1.119 -> r1.119.4.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtinsert.c.diff?r1=1.119&r2=1.119.4.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-10-12 17:18:32 pgsql: Fix longstanding bug found by Atsushi Ogawa: _bt_check_unique
Previous Message Tom Lane 2005-10-12 17:18:04 pgsql: Fix longstanding bug found by Atsushi Ogawa: _bt_check_unique