Widening application of indices.

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