Thread: pgsql: Fix longstanding bug found by Atsushi Ogawa: _bt_check_unique

pgsql: Fix longstanding bug found by Atsushi Ogawa: _bt_check_unique

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
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)