pgsql: jit: Create void type in the right context

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: jit: Create void type in the right context
Date: 2023-12-11 11:04:05
Message-ID: E1rCe4z-009ev8-4b@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

jit: Create void type in the right context

Commit 3b991f81c45 introduced a specific context for types such
that all no longer referenced types can be dropped periodically
rather than leaking. One void pointer type creation was however
missed leading to an assertion failure in LLVM Debug builds.

Per buildfarm members canebreak and urutu. Fix with assistance
from Andres. The codepath in question was refactored in version
13 hence why this only affected version 12.

Reported-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/1106876.1700409912@sss.pgh.pa.us

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c922b241064ceadc95c49fac445e4ed24171b3f0

Modified Files
--------------
src/backend/jit/llvm/llvmjit_expr.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-12-11 16:52:27 pgsql: Be more wary about OpenSSL not setting errno on error.
Previous Message Alvaro Herrera 2023-12-11 10:55:57 pgsql: Simplify productions for FORMAT JSON [ ENCODING name ]