On Fri, 2013-12-06 at 11:28 +0100, Dimitri Fontaine wrote:
> > Here is an idea. Add a GUC that basically says something like
> > use_transforms = on|off. You can then attach that to individual
> > functions, which is the right granularity, because only the function
> > knows whether its code expects transforms or not. But you can use
> the
> > full power of GUC to configure it any way you want.
Here is an updated patch that implements this, makes some of the
documentation improvements that you suggested, and rebases everything.