Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> I'm getting tired of this, so unless someone can present a reason not to,
> I'll implement a GUC parameter to turn this off -- and turn it off by
> default.
You'll have to push the switch-driven transformation into analyze.c ---
it is not okay for gram.y to look at GUC parameters. But as long as you
do it correctly, I'm for it.
regards, tom lane