> So far, it looks that the query I've been using to prove the SIGSEV works
> fine when I disabled jit by setting
> jit=off
Oh! So it's (probably) not a Memoize problem, it's an LLVM problem.
> The jit package is postgresql14-llvmjit-14.2-1PGDG.rhel7.x86_64
Hm. What LLVM version have you got on that machine? (And I wonder
whether it's the same as what Devrim built this PGDG package against.)
regards, tom lane