Upgrade to version 12.6:

* https://www.postgresql.org/docs/12/release-12-6.html  
  * Reindexing might be needed after applying this update.
  * CVE-2021-3393, bsc#1182040: Fix information leakage in
    constraint-violation error messages.
  * Obsoletes postgresql-icu68.patch.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=33
This commit is contained in:
Reinhard Max 2021-02-12 12:12:41 +00:00 committed by Git OBS Bridge
parent 6ec26430e7
commit 6017c5a148
7 changed files with 16 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd0d25341d9578b5473c9506300022de26370879581f5fddd243a886ce79ff95
size 20729654

View File

@ -1 +0,0 @@
bd0d25341d9578b5473c9506300022de26370879581f5fddd243a886ce79ff95 postgresql-12.5.tar.bz2

3
postgresql-12.6.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df7dd98d5ccaf1f693c7e1d0d084e9fed7017ee248bba5be0167c42ad2d70a09
size 20771172

View File

@ -0,0 +1 @@
df7dd98d5ccaf1f693c7e1d0d084e9fed7017ee248bba5be0167c42ad2d70a09 postgresql-12.6.tar.bz2

View File

@ -1,12 +0,0 @@
diff -rupN a/src/backend/commands/collationcmds.c b/src/backend/commands/collationcmds.c
--- a/src/backend/commands/collationcmds.c 2020-11-07 08:03:24.122756440 +0300
+++ b/src/backend/commands/collationcmds.c 2020-11-07 08:04:18.168901199 +0300
@@ -464,7 +464,7 @@ get_icu_language_tag(const char *localen
UErrorCode status;
status = U_ZERO_ERROR;
- uloc_toLanguageTag(localename, buf, sizeof(buf), TRUE, &status);
+ uloc_toLanguageTag(localename, buf, sizeof(buf), true, &status);
if (U_FAILURE(status))
ereport(ERROR,
(errmsg("could not convert locale name \"%s\" to language tag: %s",

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Feb 10 13:32:07 UTC 2021 - Reinhard Max <max@suse.com>
Upgrade to version 12.6:
* https://www.postgresql.org/docs/12/release-12-6.html
* Reindexing might be needed after applying this update.
* CVE-2021-3393, bsc#1182040: Fix information leakage in
constraint-violation error messages.
* Obsoletes postgresql-icu68.patch.
-------------------------------------------------------------------
Mon Dec 14 16:19:33 UTC 2020 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package postgresql12
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 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 12.5
%define pgversion 12.6
%define pgmajor 12
%define pgsuffix %pgmajor
%define buildlibs 0
@ -145,7 +145,6 @@ Patch4: postgresql-plperl-keep-rpath.patch
Patch6: postgresql-testsuite-int8.sql.patch
Patch8: postgresql-testsuite-keep-results-file.patch
Patch9: postgresql-var-run-socket.patch
Patch10: postgresql-icu68.patch
URL: https://www.postgresql.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: postgresql = %version-%release
@ -453,7 +452,6 @@ touch -r configure tmp
%patch6
%patch8 -p1
%patch9
%patch10 -p1
touch -r tmp configure
rm tmp
find src/test/ -name '*.orig' -delete