Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> Since Tom proposed the approach which Michael's patch takes, I'm
> hoping he will review and commit this. If it is left to me to fix it,
> I may just adopt a minimal fix.
I'll take a look at it.
regards, tom lane