"Tom Lane" <tgl@sss.pgh.pa.us> wrote
>
> No, because you're thinking in terms of the backend environment, and
> generally in the backend the answer to "when to use malloc directly"
> is "never".
>
Well, except before MemoryContext mechanism is set up? For example, the
functions(e.g., GUC, vfd) used during bootstrap.
So are you suggesting we fix these place by place? This should be ok.
Regards,
Qingqing