pgsql: jit: fix build with LLVM-21

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: jit: fix build with LLVM-21
Date: 2025-09-15 06:33:18
Message-ID: E1uy2m6-000nDW-01@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

jit: fix build with LLVM-21

LLVM-21 renamed llvm::GlobalValue::getGUID() to
getGUIDAssumingExternalLinkage(), so add a version guard.

Author: Holger Hoffstätte <holger(at)applied-asynchrony(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/d25e6e4a-d1b4-84d3-2f8a-6c45b975f53d%40applied-asynchrony.com

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/59d6e843e9a8cbdb982121871c3af6db0eb87d68

Modified Files
--------------
src/backend/jit/llvm/llvmjit_inline.cpp | 4 ++++
1 file changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2025-09-15 08:55:31 pgsql: Resume conflict-relevant data retention automatically.
Previous Message Peter Eisentraut 2025-09-15 05:50:29 pgsql: Some stylistic improvements in toast_save_datum()