Le mercredi 29 octobre 2008, Tom Lane a écrit :
> Now of course the bigger problem with either this syntax or yours is
> that attaching such a property to a function is arguably the Wrong Thing
> in the first place. Which one is the best way is likely to depend on
> the calling query more than it does on the function.
Let the planner figure this out, and add in some starting cost considerations
too maybe? That sounds even better, yes.
> However, I see no
> solution to that problem except function inlining; and if the function
> gets inlined then all this discussion is moot anyhow.
How to inline PLs functions?
--
dim