Fix longstanding bug found by Atsushi Ogawa: _bt_check_unique would mark

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 5c05d165afe108e70a63d65a31964072f4396c23
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-10-12T17:18:31Z
Releases: 7.4.10
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.

Files

PathChange+/−
src/backend/access/nbtree/nbtinsert.c modified +5 −2