Widening application of indices.

https://commitfest.postgresql.org/action/patch_view?id=1280
http://archives.postgresql.org/message-id/006b01ceec32$d462fca0$7d28f5e0$@etsuro@lab.ntt.co.jp