Currently,only the first column of multi-column indices
Bruce Momjian <bruce@momjian.us>
Currently,only the first column of multi-column indices is used to find start scan position of Indexscan-s. To speed up finding scan start position,I have changed _bt_first() to use as many keys as possible. I'll attach the patch here. Regards. Hiroshi Inoue
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/nbtree/nbtsearch.c | modified | +84 −46 |
| src/backend/access/nbtree/nbtutils.c | modified | +8 −2 |