Widening application of indices.

https://commitfest.postgresql.org/action/patch_view?id=1280
http://archives.postgresql.org/message-id/20131112.174841.74104536.horiguchi.kyotaro@lab.ntt.co.jp