Sync from SUSE:SLFO:Main postgresql16 revision 932ec18afd02685bf2f594b81e7f1e74

This commit is contained in:
Adrian Schröter 2025-02-25 16:14:42 +01:00
parent 56a055a7dc
commit ec206da9c6
6 changed files with 46 additions and 7 deletions

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

Binary file not shown.

View File

@ -1 +0,0 @@
23369cdaccd45270ac5dcc30fa9da205d5be33fa505e1f17a0418d2caeca477b postgresql-16.6.tar.bz2

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

Binary file not shown.

View File

@ -0,0 +1 @@
9468083a56ce0ee7d294601b74dad3dd9fc69d87aff61f0a9fb63c813ff7efd8 postgresql-16.8.tar.bz2

View File

@ -1,3 +1,41 @@
-------------------------------------------------------------------
Tue Feb 18 11:36:44 UTC 2025 - Reinhard Max <max@suse.com>
- Upgrade to 16.8:
* 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/16.8/
-------------------------------------------------------------------
Tue Feb 11 14:27:58 UTC 2025 - Reinhard Max <max@suse.com>
- Upgrade to 16.7:
* 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/16.7/
* 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:31:22 UTC 2024 - Reinhard Max <max@suse.com>
@ -16,6 +54,7 @@ Tue Nov 19 14:31:22 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/16.6/
-------------------------------------------------------------------

View File

@ -1,7 +1,7 @@
#
# spec file for package postgresql16
#
# 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 16.6
%define pgversion 16.8
%define pgmajor 16
%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