Re: ERROR: XX000: could not find memoization table entry (reproducible)

David Rowley <dgrowleyml@gmail.com>

From: David Rowley <dgrowleyml@gmail.com>
To: Emmanuel Touzery <emmanuel.touzery@plandela.si>
Cc: "pgsql-bugs@lists.postgresql.org" <pgsql-bugs@lists.postgresql.org>
Date: 2025-10-22T08:30:16Z
Lists: pgsql-bugs

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix incorrect zero extension of Datum in JIT tuple deform code

On Wed, 22 Oct 2025 at 21:02, David Rowley <dgrowleyml@gmail.com> wrote:
>
> On Wed, 22 Oct 2025 at 20:36, Emmanuel Touzery
> <emmanuel.touzery@plandela.si> wrote:
> > When the issue occurs... With \set verbose, psql displays:
> >
> > ERROR:  XX000: could not find memoization table entry
> > LOCATION:  cache_reduce_memory, nodeMemoize.c:484
>
> Thanks for the recreation steps and dump file. I can recreate it here.
> I'm just looking now.

Are you able to confirm if you still get the error with:

SET jit_tuple_deforming TO off;

and if you do; does it still happen if you do:

SET jit TO off;

David