Thomas Munro <thomas.munro@gmail.com> writes:
> On Fri, May 7, 2021 at 1:43 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> The interesting part of this is frame 6, which points here:
> Oh, and I see that 13 has 9989d37d "Remove XLogFileNameP() from the
> tree" to fix this exact problem.
Hah, so that maybe explains why thorntail has only shown this in
the v12 branch. Should we consider back-patching that?
The more general issue of how to detect, or else make safe,
pallocs in critical error reports remains. But I bet any answer
we think of for that will not be back-patchable. So back-patching
a localized fix for the specific bug we know of might be worth doing.
regards, tom lane