Thomas Hallgren <thhal(at)mailblocks(dot)com> writes:> What life span does the context->multi_call_memory_context have in case > of IMMUTABLE functions that returns SETOF?
It should be long enough. What's your test case exactly?
regards, tom lane