David Rowley <dgrowle...@gmail.com> writes: > On Wed, 10 Aug 2022 at 09:23, Tom Lane <t...@sss.pgh.pa.us> wrote: >> Hmm, I suppose you mean we could reduce 4) if we needed to. Yeah, that >> seems like a reasonable place to buy more bits later if we run out of >> MemoryContextMethodIDs. Should be fine then.
> I think he means 3). If 4) was reduced then that would further reduce > the maxBlockSize we could pass when creating a context. At least for > aset.c and generation.c, we don't really need 3) to be 30-bits wide as > the set->allocChunkLimit is almost certainly much smaller than that. Oh, I see: we'd just be further constraining the size of chunk that has to be pushed out as an "external" chunk. Got it. regards, tom lane