Modify keys_are_unique optimization to release buffer pins before it
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/index/genam.c | modified | +2 −2 |
| src/backend/access/index/indexam.c | modified | +54 −21 |