Hi, On 2022-10-06 15:10:44 -0400, Tom Lane wrote: > Andres Freund <and...@anarazel.de> writes: > >> + elog(ERROR, "pfree called with invalid pointer %p", pointer); > > > Maybe worth printing the method ID as well? > > I doubt it'd be useful.
I was thinking it could be useful to see whether the bits are likely to be the result of wipe_mem(). But I guess for that we should print the whole byte, rather than just the method. Perhaps not worth it. Greetings, Andres Freund