There are some bugs about backward scanning using

Bruce Momjian <bruce@momjian.us>

Commit: 174b552e711c337535481dbbb35c1b7a3caa101b
Author: Bruce Momjian <bruce@momjian.us>
Date: 1999-04-13T17:18:29Z
Releases: 7.1.1
There are some bugs about backward scanning using
indexes.

1. Index Scan using plural indexids never scan backward
   as to the order of indexids.
2. The cursor using Index scan is not usable after moving
   past the end.

This patch solves above bugs.
Moreover the change of _bt_first() would be useful to extend
ORDER BY patch by Jan Wieck for all descending order cases.

Hiroshi Inoue

Files