pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: jit: Create void type in the right context
Date: Mon, 11 Dec 2023 11:04:05 +0000
Message-ID: <E1rCe4z-009ev8-4b@gemulon.postgresql.org> (raw)

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@sss.pgh.pa.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(-)



Message-ID: <E1rCe4z-009ev8-4b@gemulon.postgresql.org>
Permalink:  ../E1rCe4z-009ev8-4b@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rCe4z-009ev8-4b@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: dgustafsson@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: jit: Create void type in the right context
  In-Reply-To: <E1rCe4z-009ev8-4b@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox