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:04
Message-ID: 20051012171804.3FDAFD7F4C@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.

Modified Files:
--------------
pgsql/src/backend/access/nbtree:
nbtinsert.c (r1.125 -> r1.126)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtinsert.c.diff?r1=1.125&r2=1.126)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-10-12 17:18:16 pgsql: Fix longstanding bug found by Atsushi Ogawa: _bt_check_unique
Previous Message Tom Lane 2005-10-12 16:55:59 pgsql: Fix another recently-changed place that was messing with