Andres Freund <andres(at)anarazel(dot)de> writes:
> Thinking about it for a second longer, I don't think we'd need a new
> context - afaict argcontext has exactly the lifetime requirements
> needed.
Hm, maybe so. That'd definitely be a better solution if it works.
regards, tom lane