PostgreSQL 13: Update to 13.23, per changes described at https://www.postgresql.org...
authorDevrim Gunduz <devrim@gunduz.org>
Tue, 11 Nov 2025 18:15:35 +0000 (21:15 +0300)
committerDevrim Gunduz <devrim@gunduz.org>
Tue, 11 Nov 2025 18:15:35 +0000 (21:15 +0300)
rpm/redhat/main/non-common/postgresql-13/F-43/postgresql-13-llvm21.patch [deleted symlink]
rpm/redhat/main/non-common/postgresql-13/main/postgresql-13-llvm21.patch [deleted file]
rpm/redhat/main/non-common/postgresql-13/main/postgresql-13.spec

diff --git a/rpm/redhat/main/non-common/postgresql-13/F-43/postgresql-13-llvm21.patch b/rpm/redhat/main/non-common/postgresql-13/F-43/postgresql-13-llvm21.patch
deleted file mode 120000 (symlink)
index 7002921..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../main/postgresql-13-llvm21.patch
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/postgresql-13/main/postgresql-13-llvm21.patch b/rpm/redhat/main/non-common/postgresql-13/main/postgresql-13-llvm21.patch
deleted file mode 100644 (file)
index 9c5b24e..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-From c11ac811a30db4159543f8399f3c0b723369fa20 Mon Sep 17 00:00:00 2001
-From: Peter Eisentraut
-Date: Mon, 15 Sep 2025 08:13:21 +0200
-Subject: jit: fix build with LLVM-21
-
-LLVM-21 renamed llvm::GlobalValue::getGUID() to
-getGUIDAssumingExternalLinkage(), so add a version guard.
-
-Author: Holger Hoffstätte <holger@applied-asynchrony.com>
-Discussion: https://www.postgresql.org/message-id/flat/d25e6e4a-d1b4-84d3-2f8a-6c45b975f53d%40applied-asynchrony.com
----
- src/backend/jit/llvm/llvmjit_inline.cpp | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/backend/jit/llvm/llvmjit_inline.cpp b/src/backend/jit/llvm/llvmjit_inline.cpp
-index 2764c3bbe2f..51b32cd9f94 100644
---- a/src/backend/jit/llvm/llvmjit_inline.cpp
-+++ b/src/backend/jit/llvm/llvmjit_inline.cpp
-@@ -238,7 +238,11 @@ llvm_build_inline_plan(LLVMContextRef lc, llvm::Module *mod)
-               llvm_split_symbol_name(symbolName.data(), &cmodname, &cfuncname);
-+#if LLVM_VERSION_MAJOR >= 21
-+              funcGUID = llvm::GlobalValue::getGUIDAssumingExternalLinkage(cfuncname);
-+#else
-               funcGUID = llvm::GlobalValue::getGUID(cfuncname);
-+#endif
-               /* already processed */
-               if (inlineState.processed)
--- 
-cgit v1.2.3
-
index 4d2caeffe9a0a5b7c7402d5efab3d4051a4558fa..7777ca7ddc6c99e47a3d2021398ead16aaa52e4c 100644 (file)
 
 Summary:       PostgreSQL client programs and libraries
 Name:          %{sname}%{pgmajorversion}
-Version:       13.22
+Version:       13.23
 %if 0%{?suse_version} >= 1315
 # SuSE upstream packages have release numbers like 150200.5.19.1
 # which overrides our packages. Increase our release number on SuSE.
-Release:       420007PGDG%{?dist}
+Release:       420001PGDG%{?dist}
 %else
-Release:       7PGDG%{?dist}
+Release:       1PGDG%{?dist}
 %endif
 License:       PostgreSQL
 Url:           https://www.postgresql.org/
@@ -115,9 +115,6 @@ Patch1:             %{sname}-%{pgmajorversion}-rpm-pgsql.patch
 Patch3:                %{sname}-%{pgmajorversion}-conf.patch
 Patch5:                %{sname}-%{pgmajorversion}-var-run-socket.patch
 Patch6:                %{sname}-%{pgmajorversion}-perl-rpath.patch
-%if 0%{?fedora} == 43
-Patch7:                %{sname}-%{pgmajorversion}-llvm21.patch
-%endif
 
 BuildRequires: perl glibc-devel bison flex >= 2.5.31
 BuildRequires: gcc-c++
@@ -576,9 +573,6 @@ benchmarks.
 %patch -P 3 -p0
 %patch -P 5 -p0
 %patch -P 6 -p0
-%if 0%{?fedora} == 43
-%patch -P 7 -p1
-%endif
 
 %{__cp} -p %{SOURCE12} .
 
@@ -1383,6 +1377,10 @@ fi
 %endif
 
 %changelog
+* Tue Nov 11 2025 Devrim Gündüz <devrim@gunduz.org> - 13.23-1PGDG
+- Update to 13.23, per changes described at
+  https://www.postgresql.org/docs/release/13.23/
+
 * Fri Nov 7 2025 Devrim Gunduz <devrim@gunduz.org> - 13.22-7PGDG
 - Build against OpenSSL 3 on SLES 15.