On Wed, Jul 11, 2018 at 03:27:13PM +0900, Michael Paquier wrote:
> I don't think that your solution is correct. From my read of 37a795a6,
> the tuple descriptor is moved from the query-lifespan memory context
> (ecxt_per_query_memory) to a function-level context, which could cause
> the descriptor to become busted as your test is pointing out. Tom?
Hacking my way out I am finishing with the attached, which fixes the
problem and passes all regression tests. I am not completely sure that
this the right approach though, I would need to think a bit more about
it.
--
Michael