Re: Concern about memory management with SRFs - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Concern about memory management with SRFs
Date
Msg-id 6618.1030585841@sss.pgh.pa.us
Whole thread Raw
In response to Re: Concern about memory management with SRFs  (Joe Conway <mail@joeconway.com>)
List pgsql-hackers
Joe Conway <mail@joeconway.com> writes:
> Is it OK to use fcinfo->flinfo->fn_mcxt as the long term memory 
> context or is there a better choice?

That is the correct choice.

> Is funcctx->multi_call_memory_ctx a 
> suitable name in place of funcctx->fmctx?

No objection here.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: Concern about memory management with SRFs
Next
From: One Way
Date:
Subject: Re: Open 7.3 items