On Mon, Jul 20, 2026 at 01:51:33PM +0200, Matthias van de Meent wrote:
> While the Assert is caused by other effects, it would still leave an
> incorrect rd_partcheck around in relcaches, so here's a patch that
> fixes that issue with rd_partcheckcxt. It also avoids leaking the
> context itself into the CacheMemoryContext when an OOM happens, so
> that's a neat addition.
Neater to not call AllocSetContextCreate() in the cache context this
way, indeed. That's better than what I have sent.
--
Michael