> On 22 Jan 2026, at 06:56, Andres Freund <andres(at)anarazel(dot)de> wrote:
>
> It'd be nice to teach
> the compile that palloc allocates, to a) get compiler warnings for things like
> use-after-free b) warnings for things like access-beyond-allocation.
Is there any chance to teach a compiler about short lived memory contexts?
Best regards, Andrey Borodin.