> The same optimization can be applied, by the way, to at least the GIST,
> the GIN and the HASH index implementations. I'll do that the next days
> when I find some time.
Done for B-tree, hash, GiST, GIN, SP-GiST, and bloom indexes.
Attached patch passes tests.
Also created a commit fest entry:
https://commitfest.postgresql.org/patch/7422/
--
David Geier