Fix for bug #866. 7.3 contains new logic for avoiding redundant calls to
Tom Lane <tgl@sss.pgh.pa.us>
Fix for bug #866. 7.3 contains new logic for avoiding redundant calls to the index AM when we know we are fetching a unique row. However, this logic did not consider the possibility that it would be asked to fetch backwards. Also fix mark/restore to work correctly in this scenario.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/index/genam.c | modified | +4 −1 |
| src/backend/access/index/indexam.c | modified | +44 −9 |
| src/include/access/relscan.h | modified | +10 −1 |