Andres Freund <andres@anarazel.de> writes:
> I did come up with a, very hacky at this point, prototype that does seems to
> fix the issue.
Hmm ... this doesn't look very much like what I was imagining. Let
me draft a prototype and we can compare.
regards, tom lane