[ catching up on this discussion a bit late... ]
Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> writes:
> You haven't shown us the patch, have you?
That was pretty much the point that leapt out at me. For a change of
this magnitude, there is absolutely zero chance that we'll accept an
implementation sight unseen. Let's see a proof-of-concept patch...
regards, tom lane