Andres Freund <andres(at)anarazel(dot)de> writes:
> FWIW, rewrites of this kind can be quite nicely automated using
> coccinelle [1]. One sometimes needs to do a bit of mop-up with variable
> names, but otherwise it should be mostly complete.
I'm getting slightly annoyed by arguments that reject a live, workable
patch in favor of pie-in-the-sky proposals. Both you and Robert seem
to be advocating solutions that don't exist and would take a very large
amount of work to create. If you think differently, let's see a patch.
regards, tom lane