]> granicus.if.org Git - postgresql/commit
Modify keys_are_unique optimization to release buffer pins before it
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 24 Mar 2003 21:42:33 +0000 (21:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 24 Mar 2003 21:42:33 +0000 (21:42 +0000)
commitfddc2d94cea0b60a704020715e5e6cc15548a412
tree1f030e7ecee2a83f4256fbc872b7e732fbc7795e
parent346182ca9223954b6fe1ac3d1f680dfae59e0473
Modify keys_are_unique optimization to release buffer pins before it
returns NULL.  This avoids out-of-buffers failures during many-way
indexscans, as in Shraibman's complaint of 21-Mar.
src/backend/access/index/genam.c
src/backend/access/index/indexam.c