Sync from SUSE:SLFO:Main postgresql15 revision 91bb771f5e2d5c3c5499f470ad15cf16

This commit is contained in:
Adrian Schröter 2025-02-25 16:14:24 +01:00
parent 990e5ce23e
commit 6e071f3893
6 changed files with 46 additions and 7 deletions

BIN
postgresql-15.10.tar.bz2 (Stored with Git LFS)

Binary file not shown.

View File

@ -1 +0,0 @@
55abe738d441f0e58658b3ec6f88097a713b5e3b73139f6230d7b5c4c389e573 postgresql-15.10.tar.bz2

BIN
postgresql-15.12.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1 @@
3bc8462a38ca0857270cc88b949a3f6659f0d5c44c029c482355835b61a0f6f7 postgresql-15.12.tar.bz2

View File

@ -1,3 +1,41 @@
-------------------------------------------------------------------
Tue Feb 18 11:36:44 UTC 2025 - Reinhard Max <max@suse.com>
- Upgrade to 15.12:
* Improve behavior of libpq's quoting functions:
The changes made for CVE-2025-1094 had one serious oversight:
PQescapeLiteral() and PQescapeIdentifier() failed to honor
their string length parameter, instead always reading to the
input string's trailing null. This resulted in including
unwanted text in the output, if the caller intended to
truncate the string via the length parameter. With very bad
luck it could cause a crash due to reading off the end of
memory.
In addition, modify all these quoting functions so that when
invalid encoding is detected, an invalid sequence is
substituted for just the first byte of the presumed
character, not all of it. This reduces the risk of problems
if a calling application performs additional processing on
the quoted string.
* Fix small memory leak in pg_createsubscriber.
* https://www.postgresql.org/docs/release/15.12/
-------------------------------------------------------------------
Tue Feb 11 14:27:58 UTC 2025 - Reinhard Max <max@suse.com>
- Upgrade to 15.11:
* bsc#1237093, CVE-2025-1094: Harden PQescapeString and allied
functions against invalidly-encoded input strings.
* obsoletes postgresql-tzdata2025a.patch
* https://www.postgresql.org/docs/release/15.11/
* https://www.postgresql.org/about/news/-3015/
- Disable LLVM JIT on loongarch64
-------------------------------------------------------------------
Tue Jan 28 12:23:29 UTC 2025 - Reinhard Max <max@suse.com>
- Fix build, add postgresql-tzdata2025a.patch
-------------------------------------------------------------------
Tue Nov 19 14:27:34 UTC 2024 - Reinhard Max <max@suse.com>
@ -16,6 +54,7 @@ Tue Nov 19 14:27:34 UTC 2024 - Reinhard Max <max@suse.com>
have changed.
* Avoid assertion failure caused by disconnected NFA sub-graphs
in regular expression parsing.
* https://www.postgresql.org/about/news/p-2965/
* https://www.postgresql.org/docs/release/15.10/
-------------------------------------------------------------------

View File

@ -1,7 +1,7 @@
#
# spec file for package postgresql15
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,7 @@
#
%define pgversion 15.10
%define pgversion 15.12
%define pgmajor 15
%define buildlibs 0
%define tarversion %{pgversion}
@ -115,7 +115,7 @@ BuildRequires: %libpq
%endif
%if 0%{?suse_version} >= 1500 && %pgmajor >= 11
%ifarch riscv64
%ifarch riscv64 loongarch64
%bcond_with llvm
%else
%bcond_without llvm