pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: jit: Use opaque pointers in all supported LLVM versions.
Date: Tue, 01 Oct 2024 10:21:29 +0000
Message-ID: <E1sva0W-001hjw-JM@gemulon.postgresql.org> (raw)

jit: Use opaque pointers in all supported LLVM versions.

LLVM's opaque pointer change began in LLVM 14, but remained optional
until LLVM 16.  When commit 37d5babb added opaque pointer support, we
didn't turn it on for LLVM 14 and 15 yet because we didn't want to risk
weird bitcode incompatibility problems in released branches of
PostgreSQL.  (That might have been overly cautious, I don't know.)

Now that PostgreSQL 18 has dropped support for LLVM versions < 14, and
since it hasn't been released yet and no extensions or bitcode have been
built against it in the wild yet, we can be more aggressive.  We can rip
out the support code and build system clutter that made opaque pointer
use optional.

Author: Thomas Munro <thomas.munro@gmail.com>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussions: https://postgr.es/m/CA%2BhUKGLhNs5geZaVNj2EJ79Dx9W8fyWUU3HxcpZy55sMGcY%3DiA%40mail.gmail.com

Branch
------
master

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

Modified Files
--------------
configure                        | 89 ----------------------------------------
configure.ac                     |  3 --
src/backend/jit/llvm/llvmjit.c   | 13 ------
src/backend/jit/llvm/meson.build |  3 --
src/include/jit/llvmjit_emit.h   | 16 --------
5 files changed, 124 deletions(-)



Message-ID: <E1sva0W-001hjw-JM@gemulon.postgresql.org>
Permalink:  ../E1sva0W-001hjw-JM@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sva0W-001hjw-JM@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: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: jit: Use opaque pointers in all supported LLVM versions.
  In-Reply-To: <E1sva0W-001hjw-JM@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