On Sun, Nov 11, 2012 at 10:45 PM, <m-pg(at)8d(dot)no> wrote:
> Bug: When making an index over a function, then selecting a result that does
> not contain the function call (but orders on it), Superfluous function calls
> are made. This possibly because the plan creates a projection containing the
> function value.
I think this is the same issue as was discussed here, dating from
PostgreSQL 8.1:
http://postgresql.1045698.n5.nabble.com/Slow-functional-indexes-td2059587.html
--
Stuart Bishop <stuart(at)stuartbishop(dot)net>
http://www.stuartbishop.net/