"Richard Rowell" <richard(dot)rowell(at)gmail(dot)com> writes:
> I discussed this hack with Neil and Josh in Ottawa back in May. I
> took a stab at it a few weeks ago and below are the results. It is
> mostly modeled after the existing inline_function. The approach taken
> is to recursively cleanup the RTable where stable SQL functions are
> found in it.
Applied with revisions --- the recursion issue wasn't being managed
properly, and there were some other problems ...
regards, tom lane