Re: Reducing the chunk header sizes on all memory context types - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Reducing the chunk header sizes on all memory context types
Date
Msg-id 20221006191454.yviucagfzayak3x6@awork3.anarazel.de
Whole thread Raw
In response to Re: Reducing the chunk header sizes on all memory context types  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Reducing the chunk header sizes on all memory context types  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

On 2022-10-06 15:10:44 -0400, Tom Lane wrote:
> Andres Freund <andres@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



pgsql-hackers by date:

Previous
From: Paul Ramsey
Date:
Subject: Re: Lambda expressions (was Re: BUG #15471)
Next
From: Tom Lane
Date:
Subject: Re: Reducing the chunk header sizes on all memory context types