- Pull upstream patch to fix tests with timezone 2024b
* postgresql-testsuite-timezone-fix.patch OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql16?expand=0&rev=34
This commit is contained in:
commit
a8438c53ea
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
@ -0,0 +1,94 @@
|
||||
From 0edaa982336823d4d7af8f10b91579fe0099ef3d Mon Sep 17 00:00:00 2001
|
||||
From: Tom Stellard <tstellar@redhat.com>
|
||||
Date: Tue, 20 Apr 2021 20:14:21 -0700
|
||||
Subject: [PATCH] jit: Workaround potential datalayout mismatch on s390x
|
||||
|
||||
LLVM's s390x target uses a different datalayout for z13 and newer processors.
|
||||
If llvmjit_types.bc is compiled to target a processor older than z13, and
|
||||
then the JIT runs on a z13 or newer processor, then there will be a mismatch
|
||||
in datalayouts between llvmjit_types.bc and the JIT engine. This mismatch
|
||||
causes the JIT to fail at runtime.
|
||||
---
|
||||
src/backend/jit/llvm/llvmjit.c | 46 ++++++++++++++++++++++++++++++++--
|
||||
1 file changed, 44 insertions(+), 2 deletions(-)
|
||||
|
||||
--- src/backend/jit/llvm/llvmjit.c.orig
|
||||
+++ src/backend/jit/llvm/llvmjit.c
|
||||
@@ -777,6 +777,35 @@ llvm_compile_module(LLVMJitContext *cont
|
||||
}
|
||||
|
||||
/*
|
||||
+ * For the systemz target, LLVM uses a different datalayout for z13 and newer
|
||||
+ * CPUs than it does for older CPUs. This can cause a mismatch in datalayouts
|
||||
+ * in the case where the llvm_types_module is compiled with a pre-z13 CPU
|
||||
+ * and the JIT is running on z13 or newer.
|
||||
+ * See computeDataLayout() function in
|
||||
+ * llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp for information on the
|
||||
+ * datalayout differences.
|
||||
+ */
|
||||
+static bool
|
||||
+needs_systemz_workaround(void)
|
||||
+{
|
||||
+ bool ret = false;
|
||||
+ LLVMContextRef llvm_context;
|
||||
+ LLVMTypeRef vec_type;
|
||||
+ LLVMTargetDataRef llvm_layoutref;
|
||||
+ if (strncmp(LLVMGetTargetName(llvm_targetref), "systemz", strlen("systemz")))
|
||||
+ {
|
||||
+ return false;
|
||||
+ }
|
||||
+
|
||||
+ llvm_context = LLVMGetModuleContext(llvm_types_module);
|
||||
+ vec_type = LLVMVectorType(LLVMIntTypeInContext(llvm_context, 32), 4);
|
||||
+ llvm_layoutref = LLVMCreateTargetData(llvm_layout);
|
||||
+ ret = (LLVMABIAlignmentOfType(llvm_layoutref, vec_type) == 16);
|
||||
+ LLVMDisposeTargetData(llvm_layoutref);
|
||||
+ return ret;
|
||||
+}
|
||||
+
|
||||
+/*
|
||||
* Per session initialization.
|
||||
*/
|
||||
static void
|
||||
@@ -785,6 +814,7 @@ llvm_session_initialize(void)
|
||||
MemoryContext oldcontext;
|
||||
char *error = NULL;
|
||||
char *cpu = NULL;
|
||||
+ char *host_features = NULL;
|
||||
char *features = NULL;
|
||||
LLVMTargetMachineRef opt0_tm;
|
||||
LLVMTargetMachineRef opt3_tm;
|
||||
@@ -826,10 +856,17 @@ llvm_session_initialize(void)
|
||||
* features not all CPUs have (weird, huh).
|
||||
*/
|
||||
cpu = LLVMGetHostCPUName();
|
||||
- features = LLVMGetHostCPUFeatures();
|
||||
+ features = host_features = LLVMGetHostCPUFeatures();
|
||||
elog(DEBUG2, "LLVMJIT detected CPU \"%s\", with features \"%s\"",
|
||||
cpu, features);
|
||||
|
||||
+ if (needs_systemz_workaround())
|
||||
+ {
|
||||
+ const char *no_vector =",-vector";
|
||||
+ features = malloc(sizeof(char) * (strlen(host_features) + strlen(no_vector) + 1));
|
||||
+ sprintf(features, "%s%s", host_features, no_vector);
|
||||
+ }
|
||||
+
|
||||
opt0_tm =
|
||||
LLVMCreateTargetMachine(llvm_targetref, llvm_triple, cpu, features,
|
||||
LLVMCodeGenLevelNone,
|
||||
@@ -843,8 +880,13 @@ llvm_session_initialize(void)
|
||||
|
||||
LLVMDisposeMessage(cpu);
|
||||
cpu = NULL;
|
||||
- LLVMDisposeMessage(features);
|
||||
+ if (features != host_features)
|
||||
+ {
|
||||
+ free(features);
|
||||
+ }
|
||||
features = NULL;
|
||||
+ LLVMDisposeMessage(host_features);
|
||||
+ host_features = NULL;
|
||||
|
||||
/* force symbols in main binary to be loaded */
|
||||
LLVMLoadLibraryPermanently(NULL);
|
5
baselibs.conf
Normal file
5
baselibs.conf
Normal file
@ -0,0 +1,5 @@
|
||||
libpq5
|
||||
provides "postgresql-libs-<targettype> = <version>"
|
||||
obsoletes "postgresql-libs-<targettype> < <version>"
|
||||
conflicts "postgresql-libs-<targettype> < 9.1.6"
|
||||
libecpg6
|
3
postgresql-16.4.tar.bz2
Normal file
3
postgresql-16.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:971766d645aa73e93b9ef4e3be44201b4f45b5477095b049125403f9f3386d6f
|
||||
size 24765786
|
1
postgresql-16.4.tar.bz2.sha256
Normal file
1
postgresql-16.4.tar.bz2.sha256
Normal file
@ -0,0 +1 @@
|
||||
971766d645aa73e93b9ef4e3be44201b4f45b5477095b049125403f9f3386d6f postgresql-16.4.tar.bz2
|
27
postgresql-conf.patch
Normal file
27
postgresql-conf.patch
Normal file
@ -0,0 +1,27 @@
|
||||
--- src/backend/utils/misc/postgresql.conf.sample.orig
|
||||
+++ src/backend/utils/misc/postgresql.conf.sample
|
||||
@@ -447,14 +447,14 @@
|
||||
|
||||
# - Where to Log -
|
||||
|
||||
-#log_destination = 'stderr' # Valid values are combinations of
|
||||
+log_destination = 'stderr' # Valid values are combinations of
|
||||
# stderr, csvlog, jsonlog, syslog, and
|
||||
# eventlog, depending on platform.
|
||||
# csvlog and jsonlog require
|
||||
# logging_collector to be on.
|
||||
|
||||
# This is used when logging to stderr:
|
||||
-#logging_collector = off # Enable capturing of stderr, jsonlog,
|
||||
+logging_collector = on # Enable capturing of stderr, jsonlog,
|
||||
# and csvlog into log files. Required
|
||||
# to be on for csvlogs and jsonlogs.
|
||||
# (change requires restart)
|
||||
@@ -563,6 +563,7 @@
|
||||
#log_error_verbosity = default # terse, default, or verbose messages
|
||||
#log_hostname = off
|
||||
#log_line_prefix = '%m [%p] ' # special values:
|
||||
+log_line_prefix = '%m %d %u [%p]'
|
||||
# %a = application name
|
||||
# %u = user name
|
||||
# %d = database name
|
16
postgresql-llvm-optional.patch
Normal file
16
postgresql-llvm-optional.patch
Normal file
@ -0,0 +1,16 @@
|
||||
--- src/Makefile.global.in.orig
|
||||
+++ src/Makefile.global.in
|
||||
@@ -192,7 +192,12 @@ with_krb_srvnam = @with_krb_srvnam@
|
||||
with_ldap = @with_ldap@
|
||||
with_libxml = @with_libxml@
|
||||
with_libxslt = @with_libxslt@
|
||||
-with_llvm = @with_llvm@
|
||||
+# Only build for LLVM, if the core supports it and the llvm and clang packages are installed.
|
||||
+ifeq (@with_llvm@ $(wildcard /usr/bin/clang /usr/bin/llvm-lto),yes /usr/bin/clang /usr/bin/llvm-lto)
|
||||
+with_llvm = yes
|
||||
+else
|
||||
+with_llvm = no
|
||||
+endif
|
||||
with_system_tzdata = @with_system_tzdata@
|
||||
with_uuid = @with_uuid@
|
||||
with_zlib = @with_zlib@
|
30
postgresql-plperl-keep-rpath.patch
Normal file
30
postgresql-plperl-keep-rpath.patch
Normal file
@ -0,0 +1,30 @@
|
||||
This patch keeps PosgreSQL's configure script from removing the rpath from
|
||||
Perl's linker options, because otherwise the PL/Perl module can't find
|
||||
libperl.so (bsc#578053).
|
||||
|
||||
--- config/perl.m4.orig
|
||||
+++ config/perl.m4
|
||||
@@ -98,9 +98,7 @@ if test "$PORTNAME" = "win32" ; then
|
||||
fi
|
||||
fi
|
||||
else
|
||||
- pgac_tmp1=`$PERL -MExtUtils::Embed -e ldopts`
|
||||
- pgac_tmp2=`$PERL -MConfig -e 'print "$Config{ccdlflags} $Config{ldflags}"'`
|
||||
- perl_embed_ldflags=`echo X"$pgac_tmp1" | sed -e "s/^X//" -e "s%$pgac_tmp2%%"`
|
||||
+ perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts`
|
||||
fi
|
||||
AC_SUBST(perl_embed_ldflags)dnl
|
||||
if test -z "$perl_embed_ldflags" ; then
|
||||
--- configure.orig
|
||||
+++ configure
|
||||
@@ -10456,9 +10456,7 @@ if test "$PORTNAME" = "win32" ; then
|
||||
fi
|
||||
fi
|
||||
else
|
||||
- pgac_tmp1=`$PERL -MExtUtils::Embed -e ldopts`
|
||||
- pgac_tmp2=`$PERL -MConfig -e 'print "$Config{ccdlflags} $Config{ldflags}"'`
|
||||
- perl_embed_ldflags=`echo X"$pgac_tmp1" | sed -e "s/^X//" -e "s%$pgac_tmp2%%"`
|
||||
+ perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts`
|
||||
fi
|
||||
if test -z "$perl_embed_ldflags" ; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
9
postgresql-rpmlintrc
Normal file
9
postgresql-rpmlintrc
Normal file
@ -0,0 +1,9 @@
|
||||
addFilter("useless-explicit-provides")
|
||||
addFilter("unnecessary-buildrequires")
|
||||
addFilter("patch-not-applied")
|
||||
addFilter("non-standard-uid")
|
||||
addFilter("file-not-in-%lang")
|
||||
addFilter("no-dependency-on")
|
||||
addFilter("no-soname")
|
||||
addFilter("devel-file-in-non-devel-package")
|
||||
addFilter("shlib-policy-name-error")
|
16
postgresql-testsuite-keep-results-file.patch
Normal file
16
postgresql-testsuite-keep-results-file.patch
Normal file
@ -0,0 +1,16 @@
|
||||
commit 463154c669010cffc0e96b683576f1e879b61d8b
|
||||
Author: yac <yac@blesmrt.net>
|
||||
Date: Mon Mar 11 18:42:39 2013 +0100
|
||||
|
||||
don't unlink the result file
|
||||
|
||||
--- src/test/regress/pg_regress.c.orig
|
||||
+++ src/test/regress/pg_regress.c
|
||||
@@ -2592,7 +2592,6 @@ regression_main(int argc, char *argv[],
|
||||
else
|
||||
{
|
||||
unlink(difffilename);
|
||||
- unlink(logfilename);
|
||||
}
|
||||
|
||||
fclose(logfile);
|
504
postgresql-testsuite-timezone-fix.patch
Normal file
504
postgresql-testsuite-timezone-fix.patch
Normal file
@ -0,0 +1,504 @@
|
||||
From 2abc88958039990ba82669aa9beebd394d06e9a2 Mon Sep 17 00:00:00 2001
|
||||
From: Tom Lane <tgl@sss.pgh.pa.us>
|
||||
Date: Sat, 14 Sep 2024 17:55:03 -0400
|
||||
Subject: [PATCH] Run regression tests with timezone America/Los_Angeles.
|
||||
|
||||
Historically we've used timezone "PST8PDT", but the recent release
|
||||
2024b of tzdb changes the definition of that zone in a way that
|
||||
breaks many test cases concerned with dates before 1970. Although
|
||||
we've not yet adopted 2024b into our own tree, this is already
|
||||
problematic for people using --with-system-tzdata if their platform
|
||||
has already adopted 2024b. To work with both older and newer
|
||||
versions of tzdb, switch to using "America/Los_Angeles", accepting
|
||||
the ensuing changes in regression test results.
|
||||
|
||||
Back-patch to all supported branches.
|
||||
|
||||
Per report and patch from Wolfgang Walther.
|
||||
|
||||
Discussion: https://postgr.es/m/0a997455-5aba-4cf2-a354-d26d8bcbfae6@technowledgy.de
|
||||
---
|
||||
doc/src/sgml/ref/set.sgml | 4 +-
|
||||
doc/src/sgml/regress.sgml | 6 +-
|
||||
src/test/regress/expected/date.out | 10 +-
|
||||
src/test/regress/expected/horology.out | 57 +++++----
|
||||
src/test/regress/expected/timestamptz.out | 137 ++++++++++++----------
|
||||
src/test/regress/pg_regress.c | 2 +-
|
||||
src/test/regress/sql/horology.sql | 4 +-
|
||||
src/test/regress/sql/timestamptz.sql | 5 +-
|
||||
8 files changed, 120 insertions(+), 105 deletions(-)
|
||||
|
||||
diff --git a/src/test/regress/expected/date.out b/src/test/regress/expected/date.out
|
||||
index f5949f3d17..20374c5230 100644
|
||||
--- a/src/test/regress/expected/date.out
|
||||
+++ b/src/test/regress/expected/date.out
|
||||
@@ -1295,7 +1295,7 @@ SELECT DATE_TRUNC('MILLENNIUM', TIMESTAMP '1970-03-20 04:30:00.00000'); -- 1001
|
||||
SELECT DATE_TRUNC('MILLENNIUM', DATE '1970-03-20'); -- 1001-01-01
|
||||
date_trunc
|
||||
------------------------------
|
||||
- Thu Jan 01 00:00:00 1001 PST
|
||||
+ Thu Jan 01 00:00:00 1001 LMT
|
||||
(1 row)
|
||||
|
||||
SELECT DATE_TRUNC('CENTURY', TIMESTAMP '1970-03-20 04:30:00.00000'); -- 1901
|
||||
@@ -1319,13 +1319,13 @@ SELECT DATE_TRUNC('CENTURY', DATE '2004-08-10'); -- 2001-01-01
|
||||
SELECT DATE_TRUNC('CENTURY', DATE '0002-02-04'); -- 0001-01-01
|
||||
date_trunc
|
||||
------------------------------
|
||||
- Mon Jan 01 00:00:00 0001 PST
|
||||
+ Mon Jan 01 00:00:00 0001 LMT
|
||||
(1 row)
|
||||
|
||||
SELECT DATE_TRUNC('CENTURY', DATE '0055-08-10 BC'); -- 0100-01-01 BC
|
||||
date_trunc
|
||||
---------------------------------
|
||||
- Tue Jan 01 00:00:00 0100 PST BC
|
||||
+ Tue Jan 01 00:00:00 0100 LMT BC
|
||||
(1 row)
|
||||
|
||||
SELECT DATE_TRUNC('DECADE', DATE '1993-12-25'); -- 1990-01-01
|
||||
@@ -1337,13 +1337,13 @@ SELECT DATE_TRUNC('DECADE', DATE '1993-12-25'); -- 1990-01-01
|
||||
SELECT DATE_TRUNC('DECADE', DATE '0004-12-25'); -- 0001-01-01 BC
|
||||
date_trunc
|
||||
---------------------------------
|
||||
- Sat Jan 01 00:00:00 0001 PST BC
|
||||
+ Sat Jan 01 00:00:00 0001 LMT BC
|
||||
(1 row)
|
||||
|
||||
SELECT DATE_TRUNC('DECADE', DATE '0002-12-31 BC'); -- 0011-01-01 BC
|
||||
date_trunc
|
||||
---------------------------------
|
||||
- Mon Jan 01 00:00:00 0011 PST BC
|
||||
+ Mon Jan 01 00:00:00 0011 LMT BC
|
||||
(1 row)
|
||||
|
||||
--
|
||||
diff --git a/src/test/regress/expected/horology.out b/src/test/regress/expected/horology.out
|
||||
index 31d269b7ba..0681f84d5f 100644
|
||||
--- a/src/test/regress/expected/horology.out
|
||||
+++ b/src/test/regress/expected/horology.out
|
||||
@@ -1,11 +1,16 @@
|
||||
--
|
||||
-- HOROLOGY
|
||||
--
|
||||
-SET DateStyle = 'Postgres, MDY';
|
||||
-SHOW TimeZone; -- Many of these tests depend on the prevailing setting
|
||||
- TimeZone
|
||||
-----------
|
||||
- PST8PDT
|
||||
+SHOW TimeZone; -- Many of these tests depend on the prevailing settings
|
||||
+ TimeZone
|
||||
+---------------------
|
||||
+ America/Los_Angeles
|
||||
+(1 row)
|
||||
+
|
||||
+SHOW DateStyle;
|
||||
+ DateStyle
|
||||
+---------------
|
||||
+ Postgres, MDY
|
||||
(1 row)
|
||||
|
||||
--
|
||||
@@ -1033,12 +1038,12 @@ SELECT d1 + interval '1 year' AS one_year FROM TIMESTAMPTZ_TBL;
|
||||
Sat Feb 14 17:32:01 1998 PST
|
||||
Sun Feb 15 17:32:01 1998 PST
|
||||
Mon Feb 16 17:32:01 1998 PST
|
||||
- Thu Feb 16 17:32:01 0096 PST BC
|
||||
- Sun Feb 16 17:32:01 0098 PST
|
||||
- Fri Feb 16 17:32:01 0598 PST
|
||||
- Wed Feb 16 17:32:01 1098 PST
|
||||
- Sun Feb 16 17:32:01 1698 PST
|
||||
- Fri Feb 16 17:32:01 1798 PST
|
||||
+ Thu Feb 16 17:32:01 0096 LMT BC
|
||||
+ Sun Feb 16 17:32:01 0098 LMT
|
||||
+ Fri Feb 16 17:32:01 0598 LMT
|
||||
+ Wed Feb 16 17:32:01 1098 LMT
|
||||
+ Sun Feb 16 17:32:01 1698 LMT
|
||||
+ Fri Feb 16 17:32:01 1798 LMT
|
||||
Wed Feb 16 17:32:01 1898 PST
|
||||
Mon Feb 16 17:32:01 1998 PST
|
||||
Sun Feb 16 17:32:01 2098 PST
|
||||
@@ -1104,12 +1109,12 @@ SELECT d1 - interval '1 year' AS one_year FROM TIMESTAMPTZ_TBL;
|
||||
Wed Feb 14 17:32:01 1996 PST
|
||||
Thu Feb 15 17:32:01 1996 PST
|
||||
Fri Feb 16 17:32:01 1996 PST
|
||||
- Mon Feb 16 17:32:01 0098 PST BC
|
||||
- Thu Feb 16 17:32:01 0096 PST
|
||||
- Tue Feb 16 17:32:01 0596 PST
|
||||
- Sun Feb 16 17:32:01 1096 PST
|
||||
- Thu Feb 16 17:32:01 1696 PST
|
||||
- Tue Feb 16 17:32:01 1796 PST
|
||||
+ Mon Feb 16 17:32:01 0098 LMT BC
|
||||
+ Thu Feb 16 17:32:01 0096 LMT
|
||||
+ Tue Feb 16 17:32:01 0596 LMT
|
||||
+ Sun Feb 16 17:32:01 1096 LMT
|
||||
+ Thu Feb 16 17:32:01 1696 LMT
|
||||
+ Tue Feb 16 17:32:01 1796 LMT
|
||||
Sun Feb 16 17:32:01 1896 PST
|
||||
Fri Feb 16 17:32:01 1996 PST
|
||||
Thu Feb 16 17:32:01 2096 PST
|
||||
@@ -2388,7 +2393,7 @@ SELECT '2020-10-05'::timestamptz > '2202020-10-05'::date as f;
|
||||
SELECT '4714-11-24 BC'::date::timestamptz;
|
||||
timestamptz
|
||||
---------------------------------
|
||||
- Mon Nov 24 00:00:00 4714 PST BC
|
||||
+ Mon Nov 24 00:00:00 4714 LMT BC
|
||||
(1 row)
|
||||
|
||||
SET TimeZone = 'UTC-2';
|
||||
@@ -2966,13 +2971,13 @@ RESET DateStyle;
|
||||
SELECT to_timestamp('0097/Feb/16 --> 08:14:30', 'YYYY/Mon/DD --> HH:MI:SS');
|
||||
to_timestamp
|
||||
------------------------------
|
||||
- Sat Feb 16 08:14:30 0097 PST
|
||||
+ Sat Feb 16 08:14:30 0097 LMT
|
||||
(1 row)
|
||||
|
||||
SELECT to_timestamp('97/2/16 8:14:30', 'FMYYYY/FMMM/FMDD FMHH:FMMI:FMSS');
|
||||
to_timestamp
|
||||
------------------------------
|
||||
- Sat Feb 16 08:14:30 0097 PST
|
||||
+ Sat Feb 16 08:14:30 0097 LMT
|
||||
(1 row)
|
||||
|
||||
SELECT to_timestamp('2011$03!18 23_38_15', 'YYYY-MM-DD HH24:MI:SS');
|
||||
@@ -3009,7 +3014,7 @@ SELECT to_timestamp('My birthday-> Year: 1976, Month: May, Day: 16',
|
||||
SELECT to_timestamp('1,582nd VIII 21', 'Y,YYYth FMRM DD');
|
||||
to_timestamp
|
||||
------------------------------
|
||||
- Sat Aug 21 00:00:00 1582 PST
|
||||
+ Sat Aug 21 00:00:00 1582 LMT
|
||||
(1 row)
|
||||
|
||||
SELECT to_timestamp('15 "text between quote marks" 98 54 45',
|
||||
@@ -3073,7 +3078,7 @@ SELECT to_timestamp('1997 AD 11 16', 'YYYY BC MM DD');
|
||||
SELECT to_timestamp('1997 BC 11 16', 'YYYY BC MM DD');
|
||||
to_timestamp
|
||||
---------------------------------
|
||||
- Tue Nov 16 00:00:00 1997 PST BC
|
||||
+ Tue Nov 16 00:00:00 1997 LMT BC
|
||||
(1 row)
|
||||
|
||||
SELECT to_timestamp('1997 A.D. 11 16', 'YYYY B.C. MM DD');
|
||||
@@ -3085,7 +3090,7 @@ SELECT to_timestamp('1997 A.D. 11 16', 'YYYY B.C. MM DD');
|
||||
SELECT to_timestamp('1997 B.C. 11 16', 'YYYY B.C. MM DD');
|
||||
to_timestamp
|
||||
---------------------------------
|
||||
- Tue Nov 16 00:00:00 1997 PST BC
|
||||
+ Tue Nov 16 00:00:00 1997 LMT BC
|
||||
(1 row)
|
||||
|
||||
SELECT to_timestamp('9-1116', 'Y-MMDD');
|
||||
@@ -3355,19 +3360,19 @@ SELECT to_date('-44-02-01 BC','YYYY-MM-DD BC');
|
||||
SELECT to_timestamp('44-02-01 11:12:13 BC','YYYY-MM-DD HH24:MI:SS BC');
|
||||
to_timestamp
|
||||
---------------------------------
|
||||
- Fri Feb 01 11:12:13 0044 PST BC
|
||||
+ Fri Feb 01 11:12:13 0044 LMT BC
|
||||
(1 row)
|
||||
|
||||
SELECT to_timestamp('-44-02-01 11:12:13','YYYY-MM-DD HH24:MI:SS');
|
||||
to_timestamp
|
||||
---------------------------------
|
||||
- Fri Feb 01 11:12:13 0044 PST BC
|
||||
+ Fri Feb 01 11:12:13 0044 LMT BC
|
||||
(1 row)
|
||||
|
||||
SELECT to_timestamp('-44-02-01 11:12:13 BC','YYYY-MM-DD HH24:MI:SS BC');
|
||||
to_timestamp
|
||||
------------------------------
|
||||
- Mon Feb 01 11:12:13 0044 PST
|
||||
+ Mon Feb 01 11:12:13 0044 LMT
|
||||
(1 row)
|
||||
|
||||
--
|
||||
diff --git a/src/test/regress/expected/timestamptz.out b/src/test/regress/expected/timestamptz.out
|
||||
index db56fcfb0e..e7ac12aafa 100644
|
||||
--- a/src/test/regress/expected/timestamptz.out
|
||||
+++ b/src/test/regress/expected/timestamptz.out
|
||||
@@ -330,12 +330,12 @@ SELECT d1 FROM TIMESTAMPTZ_TBL;
|
||||
Fri Feb 14 17:32:01 1997 PST
|
||||
Sat Feb 15 17:32:01 1997 PST
|
||||
Sun Feb 16 17:32:01 1997 PST
|
||||
- Tue Feb 16 17:32:01 0097 PST BC
|
||||
- Sat Feb 16 17:32:01 0097 PST
|
||||
- Thu Feb 16 17:32:01 0597 PST
|
||||
- Tue Feb 16 17:32:01 1097 PST
|
||||
- Sat Feb 16 17:32:01 1697 PST
|
||||
- Thu Feb 16 17:32:01 1797 PST
|
||||
+ Tue Feb 16 17:32:01 0097 LMT BC
|
||||
+ Sat Feb 16 17:32:01 0097 LMT
|
||||
+ Thu Feb 16 17:32:01 0597 LMT
|
||||
+ Tue Feb 16 17:32:01 1097 LMT
|
||||
+ Sat Feb 16 17:32:01 1697 LMT
|
||||
+ Thu Feb 16 17:32:01 1797 LMT
|
||||
Tue Feb 16 17:32:01 1897 PST
|
||||
Sun Feb 16 17:32:01 1997 PST
|
||||
Sat Feb 16 17:32:01 2097 PST
|
||||
@@ -359,19 +359,19 @@ SELECT d1 FROM TIMESTAMPTZ_TBL;
|
||||
SELECT '4714-11-24 00:00:00+00 BC'::timestamptz;
|
||||
timestamptz
|
||||
---------------------------------
|
||||
- Sun Nov 23 16:00:00 4714 PST BC
|
||||
+ Sun Nov 23 16:07:02 4714 LMT BC
|
||||
(1 row)
|
||||
|
||||
SELECT '4714-11-23 16:00:00-08 BC'::timestamptz;
|
||||
timestamptz
|
||||
---------------------------------
|
||||
- Sun Nov 23 16:00:00 4714 PST BC
|
||||
+ Sun Nov 23 16:07:02 4714 LMT BC
|
||||
(1 row)
|
||||
|
||||
SELECT 'Sun Nov 23 16:00:00 4714 PST BC'::timestamptz;
|
||||
timestamptz
|
||||
---------------------------------
|
||||
- Sun Nov 23 16:00:00 4714 PST BC
|
||||
+ Sun Nov 23 16:07:02 4714 LMT BC
|
||||
(1 row)
|
||||
|
||||
SELECT '4714-11-23 23:59:59+00 BC'::timestamptz; -- out of range
|
||||
@@ -461,12 +461,12 @@ SELECT d1 FROM TIMESTAMPTZ_TBL
|
||||
---------------------------------
|
||||
-infinity
|
||||
Wed Dec 31 16:00:00 1969 PST
|
||||
- Tue Feb 16 17:32:01 0097 PST BC
|
||||
- Sat Feb 16 17:32:01 0097 PST
|
||||
- Thu Feb 16 17:32:01 0597 PST
|
||||
- Tue Feb 16 17:32:01 1097 PST
|
||||
- Sat Feb 16 17:32:01 1697 PST
|
||||
- Thu Feb 16 17:32:01 1797 PST
|
||||
+ Tue Feb 16 17:32:01 0097 LMT BC
|
||||
+ Sat Feb 16 17:32:01 0097 LMT
|
||||
+ Thu Feb 16 17:32:01 0597 LMT
|
||||
+ Tue Feb 16 17:32:01 1097 LMT
|
||||
+ Sat Feb 16 17:32:01 1697 LMT
|
||||
+ Thu Feb 16 17:32:01 1797 LMT
|
||||
Tue Feb 16 17:32:01 1897 PST
|
||||
Wed Feb 28 17:32:01 1996 PST
|
||||
Thu Feb 29 17:32:01 1996 PST
|
||||
@@ -529,12 +529,12 @@ SELECT d1 FROM TIMESTAMPTZ_TBL
|
||||
Fri Feb 14 17:32:01 1997 PST
|
||||
Sat Feb 15 17:32:01 1997 PST
|
||||
Sun Feb 16 17:32:01 1997 PST
|
||||
- Tue Feb 16 17:32:01 0097 PST BC
|
||||
- Sat Feb 16 17:32:01 0097 PST
|
||||
- Thu Feb 16 17:32:01 0597 PST
|
||||
- Tue Feb 16 17:32:01 1097 PST
|
||||
- Sat Feb 16 17:32:01 1697 PST
|
||||
- Thu Feb 16 17:32:01 1797 PST
|
||||
+ Tue Feb 16 17:32:01 0097 LMT BC
|
||||
+ Sat Feb 16 17:32:01 0097 LMT
|
||||
+ Thu Feb 16 17:32:01 0597 LMT
|
||||
+ Tue Feb 16 17:32:01 1097 LMT
|
||||
+ Sat Feb 16 17:32:01 1697 LMT
|
||||
+ Thu Feb 16 17:32:01 1797 LMT
|
||||
Tue Feb 16 17:32:01 1897 PST
|
||||
Sun Feb 16 17:32:01 1997 PST
|
||||
Sat Feb 16 17:32:01 2097 PST
|
||||
@@ -561,12 +561,12 @@ SELECT d1 FROM TIMESTAMPTZ_TBL
|
||||
-infinity
|
||||
Wed Dec 31 16:00:00 1969 PST
|
||||
Thu Jan 02 00:00:00 1997 PST
|
||||
- Tue Feb 16 17:32:01 0097 PST BC
|
||||
- Sat Feb 16 17:32:01 0097 PST
|
||||
- Thu Feb 16 17:32:01 0597 PST
|
||||
- Tue Feb 16 17:32:01 1097 PST
|
||||
- Sat Feb 16 17:32:01 1697 PST
|
||||
- Thu Feb 16 17:32:01 1797 PST
|
||||
+ Tue Feb 16 17:32:01 0097 LMT BC
|
||||
+ Sat Feb 16 17:32:01 0097 LMT
|
||||
+ Thu Feb 16 17:32:01 0597 LMT
|
||||
+ Tue Feb 16 17:32:01 1097 LMT
|
||||
+ Sat Feb 16 17:32:01 1697 LMT
|
||||
+ Thu Feb 16 17:32:01 1797 LMT
|
||||
Tue Feb 16 17:32:01 1897 PST
|
||||
Wed Feb 28 17:32:01 1996 PST
|
||||
Thu Feb 29 17:32:01 1996 PST
|
||||
@@ -920,12 +920,12 @@ SELECT d1 as timestamptz,
|
||||
Fri Feb 14 17:32:01 1997 PST | 1997 | 2 | 14 | 17 | 32 | 1
|
||||
Sat Feb 15 17:32:01 1997 PST | 1997 | 2 | 15 | 17 | 32 | 1
|
||||
Sun Feb 16 17:32:01 1997 PST | 1997 | 2 | 16 | 17 | 32 | 1
|
||||
- Tue Feb 16 17:32:01 0097 PST BC | -97 | 2 | 16 | 17 | 32 | 1
|
||||
- Sat Feb 16 17:32:01 0097 PST | 97 | 2 | 16 | 17 | 32 | 1
|
||||
- Thu Feb 16 17:32:01 0597 PST | 597 | 2 | 16 | 17 | 32 | 1
|
||||
- Tue Feb 16 17:32:01 1097 PST | 1097 | 2 | 16 | 17 | 32 | 1
|
||||
- Sat Feb 16 17:32:01 1697 PST | 1697 | 2 | 16 | 17 | 32 | 1
|
||||
- Thu Feb 16 17:32:01 1797 PST | 1797 | 2 | 16 | 17 | 32 | 1
|
||||
+ Tue Feb 16 17:32:01 0097 LMT BC | -97 | 2 | 16 | 17 | 32 | 1
|
||||
+ Sat Feb 16 17:32:01 0097 LMT | 97 | 2 | 16 | 17 | 32 | 1
|
||||
+ Thu Feb 16 17:32:01 0597 LMT | 597 | 2 | 16 | 17 | 32 | 1
|
||||
+ Tue Feb 16 17:32:01 1097 LMT | 1097 | 2 | 16 | 17 | 32 | 1
|
||||
+ Sat Feb 16 17:32:01 1697 LMT | 1697 | 2 | 16 | 17 | 32 | 1
|
||||
+ Thu Feb 16 17:32:01 1797 LMT | 1797 | 2 | 16 | 17 | 32 | 1
|
||||
Tue Feb 16 17:32:01 1897 PST | 1897 | 2 | 16 | 17 | 32 | 1
|
||||
Sun Feb 16 17:32:01 1997 PST | 1997 | 2 | 16 | 17 | 32 | 1
|
||||
Sat Feb 16 17:32:01 2097 PST | 2097 | 2 | 16 | 17 | 32 | 1
|
||||
@@ -994,12 +994,12 @@ SELECT d1 as timestamptz,
|
||||
Fri Feb 14 17:32:01 1997 PST | 1 | 1000 | 1000000
|
||||
Sat Feb 15 17:32:01 1997 PST | 1 | 1000 | 1000000
|
||||
Sun Feb 16 17:32:01 1997 PST | 1 | 1000 | 1000000
|
||||
- Tue Feb 16 17:32:01 0097 PST BC | 1 | 1000 | 1000000
|
||||
- Sat Feb 16 17:32:01 0097 PST | 1 | 1000 | 1000000
|
||||
- Thu Feb 16 17:32:01 0597 PST | 1 | 1000 | 1000000
|
||||
- Tue Feb 16 17:32:01 1097 PST | 1 | 1000 | 1000000
|
||||
- Sat Feb 16 17:32:01 1697 PST | 1 | 1000 | 1000000
|
||||
- Thu Feb 16 17:32:01 1797 PST | 1 | 1000 | 1000000
|
||||
+ Tue Feb 16 17:32:01 0097 LMT BC | 1 | 1000 | 1000000
|
||||
+ Sat Feb 16 17:32:01 0097 LMT | 1 | 1000 | 1000000
|
||||
+ Thu Feb 16 17:32:01 0597 LMT | 1 | 1000 | 1000000
|
||||
+ Tue Feb 16 17:32:01 1097 LMT | 1 | 1000 | 1000000
|
||||
+ Sat Feb 16 17:32:01 1697 LMT | 1 | 1000 | 1000000
|
||||
+ Thu Feb 16 17:32:01 1797 LMT | 1 | 1000 | 1000000
|
||||
Tue Feb 16 17:32:01 1897 PST | 1 | 1000 | 1000000
|
||||
Sun Feb 16 17:32:01 1997 PST | 1 | 1000 | 1000000
|
||||
Sat Feb 16 17:32:01 2097 PST | 1 | 1000 | 1000000
|
||||
@@ -1069,12 +1069,12 @@ SELECT d1 as timestamptz,
|
||||
Fri Feb 14 17:32:01 1997 PST | 1997 | 7 | 5 | 5 | 45
|
||||
Sat Feb 15 17:32:01 1997 PST | 1997 | 7 | 6 | 6 | 46
|
||||
Sun Feb 16 17:32:01 1997 PST | 1997 | 7 | 7 | 0 | 47
|
||||
- Tue Feb 16 17:32:01 0097 PST BC | -97 | 7 | 2 | 2 | 47
|
||||
- Sat Feb 16 17:32:01 0097 PST | 97 | 7 | 6 | 6 | 47
|
||||
- Thu Feb 16 17:32:01 0597 PST | 597 | 7 | 4 | 4 | 47
|
||||
- Tue Feb 16 17:32:01 1097 PST | 1097 | 7 | 2 | 2 | 47
|
||||
- Sat Feb 16 17:32:01 1697 PST | 1697 | 7 | 6 | 6 | 47
|
||||
- Thu Feb 16 17:32:01 1797 PST | 1797 | 7 | 4 | 4 | 47
|
||||
+ Tue Feb 16 17:32:01 0097 LMT BC | -97 | 7 | 2 | 2 | 47
|
||||
+ Sat Feb 16 17:32:01 0097 LMT | 97 | 7 | 6 | 6 | 47
|
||||
+ Thu Feb 16 17:32:01 0597 LMT | 597 | 7 | 4 | 4 | 47
|
||||
+ Tue Feb 16 17:32:01 1097 LMT | 1097 | 7 | 2 | 2 | 47
|
||||
+ Sat Feb 16 17:32:01 1697 LMT | 1697 | 7 | 6 | 6 | 47
|
||||
+ Thu Feb 16 17:32:01 1797 LMT | 1797 | 7 | 4 | 4 | 47
|
||||
Tue Feb 16 17:32:01 1897 PST | 1897 | 7 | 2 | 2 | 47
|
||||
Sun Feb 16 17:32:01 1997 PST | 1997 | 7 | 7 | 0 | 47
|
||||
Sat Feb 16 17:32:01 2097 PST | 2097 | 7 | 6 | 6 | 47
|
||||
@@ -1146,12 +1146,12 @@ SELECT d1 as timestamptz,
|
||||
Fri Feb 14 17:32:01 1997 PST | 199 | 20 | 2 | 2450495 | 855970321
|
||||
Sat Feb 15 17:32:01 1997 PST | 199 | 20 | 2 | 2450496 | 856056721
|
||||
Sun Feb 16 17:32:01 1997 PST | 199 | 20 | 2 | 2450497 | 856143121
|
||||
- Tue Feb 16 17:32:01 0097 PST BC | -10 | -1 | -1 | 1686043 | -65192682479
|
||||
- Sat Feb 16 17:32:01 0097 PST | 9 | 1 | 1 | 1756537 | -59102000879
|
||||
- Thu Feb 16 17:32:01 0597 PST | 59 | 6 | 1 | 1939158 | -43323546479
|
||||
- Tue Feb 16 17:32:01 1097 PST | 109 | 11 | 2 | 2121779 | -27545092079
|
||||
- Sat Feb 16 17:32:01 1697 PST | 169 | 17 | 2 | 2340925 | -8610877679
|
||||
- Thu Feb 16 17:32:01 1797 PST | 179 | 18 | 2 | 2377449 | -5455204079
|
||||
+ Tue Feb 16 17:32:01 0097 LMT BC | -10 | -1 | -1 | 1686043 | -65192682901
|
||||
+ Sat Feb 16 17:32:01 0097 LMT | 9 | 1 | 1 | 1756537 | -59102001301
|
||||
+ Thu Feb 16 17:32:01 0597 LMT | 59 | 6 | 1 | 1939158 | -43323546901
|
||||
+ Tue Feb 16 17:32:01 1097 LMT | 109 | 11 | 2 | 2121779 | -27545092501
|
||||
+ Sat Feb 16 17:32:01 1697 LMT | 169 | 17 | 2 | 2340925 | -8610878101
|
||||
+ Thu Feb 16 17:32:01 1797 LMT | 179 | 18 | 2 | 2377449 | -5455204501
|
||||
Tue Feb 16 17:32:01 1897 PST | 189 | 19 | 2 | 2413973 | -2299530479
|
||||
Sun Feb 16 17:32:01 1997 PST | 199 | 20 | 2 | 2450497 | 856143121
|
||||
Sat Feb 16 17:32:01 2097 PST | 209 | 21 | 3 | 2487022 | 4011903121
|
||||
@@ -1221,12 +1221,12 @@ SELECT d1 as timestamptz,
|
||||
Fri Feb 14 17:32:01 1997 PST | -28800 | -8 | 0
|
||||
Sat Feb 15 17:32:01 1997 PST | -28800 | -8 | 0
|
||||
Sun Feb 16 17:32:01 1997 PST | -28800 | -8 | 0
|
||||
- Tue Feb 16 17:32:01 0097 PST BC | -28800 | -8 | 0
|
||||
- Sat Feb 16 17:32:01 0097 PST | -28800 | -8 | 0
|
||||
- Thu Feb 16 17:32:01 0597 PST | -28800 | -8 | 0
|
||||
- Tue Feb 16 17:32:01 1097 PST | -28800 | -8 | 0
|
||||
- Sat Feb 16 17:32:01 1697 PST | -28800 | -8 | 0
|
||||
- Thu Feb 16 17:32:01 1797 PST | -28800 | -8 | 0
|
||||
+ Tue Feb 16 17:32:01 0097 LMT BC | -28378 | -7 | -52
|
||||
+ Sat Feb 16 17:32:01 0097 LMT | -28378 | -7 | -52
|
||||
+ Thu Feb 16 17:32:01 0597 LMT | -28378 | -7 | -52
|
||||
+ Tue Feb 16 17:32:01 1097 LMT | -28378 | -7 | -52
|
||||
+ Sat Feb 16 17:32:01 1697 LMT | -28378 | -7 | -52
|
||||
+ Thu Feb 16 17:32:01 1797 LMT | -28378 | -7 | -52
|
||||
Tue Feb 16 17:32:01 1897 PST | -28800 | -8 | 0
|
||||
Sun Feb 16 17:32:01 1997 PST | -28800 | -8 | 0
|
||||
Sat Feb 16 17:32:01 2097 PST | -28800 | -8 | 0
|
||||
@@ -1300,12 +1300,12 @@ SELECT d1 as "timestamp",
|
||||
Fri Feb 14 17:32:01 1997 PST | 1000000 | 1000.000 | 1.000000 | 2450495 | 855970321.000000
|
||||
Sat Feb 15 17:32:01 1997 PST | 1000000 | 1000.000 | 1.000000 | 2450496 | 856056721.000000
|
||||
Sun Feb 16 17:32:01 1997 PST | 1000000 | 1000.000 | 1.000000 | 2450497 | 856143121.000000
|
||||
- Tue Feb 16 17:32:01 0097 PST BC | 1000000 | 1000.000 | 1.000000 | 1686043 | -65192682479.000000
|
||||
- Sat Feb 16 17:32:01 0097 PST | 1000000 | 1000.000 | 1.000000 | 1756537 | -59102000879.000000
|
||||
- Thu Feb 16 17:32:01 0597 PST | 1000000 | 1000.000 | 1.000000 | 1939158 | -43323546479.000000
|
||||
- Tue Feb 16 17:32:01 1097 PST | 1000000 | 1000.000 | 1.000000 | 2121779 | -27545092079.000000
|
||||
- Sat Feb 16 17:32:01 1697 PST | 1000000 | 1000.000 | 1.000000 | 2340925 | -8610877679.000000
|
||||
- Thu Feb 16 17:32:01 1797 PST | 1000000 | 1000.000 | 1.000000 | 2377449 | -5455204079.000000
|
||||
+ Tue Feb 16 17:32:01 0097 LMT BC | 1000000 | 1000.000 | 1.000000 | 1686043 | -65192682901.000000
|
||||
+ Sat Feb 16 17:32:01 0097 LMT | 1000000 | 1000.000 | 1.000000 | 1756537 | -59102001301.000000
|
||||
+ Thu Feb 16 17:32:01 0597 LMT | 1000000 | 1000.000 | 1.000000 | 1939158 | -43323546901.000000
|
||||
+ Tue Feb 16 17:32:01 1097 LMT | 1000000 | 1000.000 | 1.000000 | 2121779 | -27545092501.000000
|
||||
+ Sat Feb 16 17:32:01 1697 LMT | 1000000 | 1000.000 | 1.000000 | 2340925 | -8610878101.000000
|
||||
+ Thu Feb 16 17:32:01 1797 LMT | 1000000 | 1000.000 | 1.000000 | 2377449 | -5455204501.000000
|
||||
Tue Feb 16 17:32:01 1897 PST | 1000000 | 1000.000 | 1.000000 | 2413973 | -2299530479.000000
|
||||
Sun Feb 16 17:32:01 1997 PST | 1000000 | 1000.000 | 1.000000 | 2450497 | 856143121.000000
|
||||
Sat Feb 16 17:32:01 2097 PST | 1000000 | 1000.000 | 1.000000 | 2487022 | 4011903121.000000
|
||||
@@ -2304,7 +2304,7 @@ INSERT INTO TIMESTAMPTZ_TST VALUES(4, '1000000312 23:58:48 IST');
|
||||
SELECT * FROM TIMESTAMPTZ_TST ORDER BY a;
|
||||
a | b
|
||||
---+--------------------------------
|
||||
- 1 | Wed Mar 12 13:58:48 1000 PST
|
||||
+ 1 | Wed Mar 12 14:05:50 1000 LMT
|
||||
2 | Sun Mar 12 14:58:48 10000 PDT
|
||||
3 | Sun Mar 12 14:58:48 100000 PDT
|
||||
3 | Sun Mar 12 14:58:48 10000 PDT
|
||||
@@ -2415,7 +2415,14 @@ SELECT make_timestamptz(2008, 12, 10, 10, 10, 10, 'EDT');
|
||||
Wed Dec 10 09:10:10 2008 EST
|
||||
(1 row)
|
||||
|
||||
-SELECT make_timestamptz(2014, 12, 10, 10, 10, 10, 'PST8PDT');
|
||||
+SELECT make_timestamptz(2014, 12, 10, 10, 10, 10, 'FOO8BAR');
|
||||
+ make_timestamptz
|
||||
+------------------------------
|
||||
+ Wed Dec 10 13:10:10 2014 EST
|
||||
+(1 row)
|
||||
+
|
||||
+-- POSIX
|
||||
+SELECT make_timestamptz(2014, 12, 10, 10, 10, 10, 'PST8PDT,M3.2.0,M11.1.0');
|
||||
make_timestamptz
|
||||
------------------------------
|
||||
Wed Dec 10 13:10:10 2014 EST
|
||||
diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
|
||||
index 57aa0de3b7..e3a0267d5e 100644
|
||||
--- a/src/test/regress/pg_regress.c
|
||||
+++ b/src/test/regress/pg_regress.c
|
||||
@@ -761,7 +761,7 @@ initialize_environment(void)
|
||||
/*
|
||||
* Set timezone and datestyle for datetime-related tests
|
||||
*/
|
||||
- setenv("PGTZ", "PST8PDT", 1);
|
||||
+ setenv("PGTZ", "America/Los_Angeles", 1);
|
||||
setenv("PGDATESTYLE", "Postgres, MDY", 1);
|
||||
|
||||
/*
|
||||
diff --git a/src/test/regress/sql/horology.sql b/src/test/regress/sql/horology.sql
|
||||
index 8f6c513573..fdd70a0767 100644
|
||||
--- a/src/test/regress/sql/horology.sql
|
||||
+++ b/src/test/regress/sql/horology.sql
|
||||
@@ -1,9 +1,9 @@
|
||||
--
|
||||
-- HOROLOGY
|
||||
--
|
||||
-SET DateStyle = 'Postgres, MDY';
|
||||
|
||||
-SHOW TimeZone; -- Many of these tests depend on the prevailing setting
|
||||
+SHOW TimeZone; -- Many of these tests depend on the prevailing settings
|
||||
+SHOW DateStyle;
|
||||
|
||||
--
|
||||
-- Test various input formats
|
||||
diff --git a/src/test/regress/sql/timestamptz.sql b/src/test/regress/sql/timestamptz.sql
|
||||
index 60cd84172c..64bba0817e 100644
|
||||
--- a/src/test/regress/sql/timestamptz.sql
|
||||
+++ b/src/test/regress/sql/timestamptz.sql
|
||||
@@ -449,7 +449,10 @@ SELECT make_timestamptz(1910, 12, 24, 0, 0, 0, 'Nehwon/Lankhmar');
|
||||
-- abbreviations
|
||||
SELECT make_timestamptz(2008, 12, 10, 10, 10, 10, 'EST');
|
||||
SELECT make_timestamptz(2008, 12, 10, 10, 10, 10, 'EDT');
|
||||
-SELECT make_timestamptz(2014, 12, 10, 10, 10, 10, 'PST8PDT');
|
||||
+SELECT make_timestamptz(2014, 12, 10, 10, 10, 10, 'FOO8BAR');
|
||||
+
|
||||
+-- POSIX
|
||||
+SELECT make_timestamptz(2014, 12, 10, 10, 10, 10, 'PST8PDT,M3.2.0,M11.1.0');
|
||||
|
||||
RESET TimeZone;
|
||||
|
||||
--
|
||||
2.30.2
|
||||
|
26
postgresql-var-run-socket.patch
Normal file
26
postgresql-var-run-socket.patch
Normal file
@ -0,0 +1,26 @@
|
||||
Change the built-in default socket directory to be /run/postgresql.
|
||||
This is to resolve communication problems with clients operating
|
||||
under systemd's PrivateTmp environment, which won't be using the same
|
||||
global /tmp directory as the server; see bug #825448.
|
||||
|
||||
Note that we apply the socket directory change at the level of the
|
||||
hard-wired defaults in the C code, not by just twiddling the setting in
|
||||
postgresql.conf.sample; this is so that the change will take effect on
|
||||
server package update, without requiring any existing postgresql.conf
|
||||
to be updated. (Of course, a user who dislikes this behavior can still
|
||||
override it via postgresql.conf.)
|
||||
|
||||
|
||||
Index: src/include/pg_config_manual.h
|
||||
===================================================================
|
||||
--- src/include/pg_config_manual.h.orig
|
||||
+++ src/include/pg_config_manual.h
|
||||
@@ -224,7 +224,7 @@
|
||||
* support them yet.
|
||||
*/
|
||||
#ifndef WIN32
|
||||
-#define DEFAULT_PGSOCKET_DIR "/tmp"
|
||||
+#define DEFAULT_PGSOCKET_DIR "/run/postgresql"
|
||||
#else
|
||||
#define DEFAULT_PGSOCKET_DIR ""
|
||||
#endif
|
473
postgresql16.changes
Normal file
473
postgresql16.changes
Normal file
@ -0,0 +1,473 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 20 22:16:10 UTC 2024 - Antonio Teixeira <antonio.teixeira@suse.com>
|
||||
|
||||
- Pull upstream patch to fix tests with timezone 2024b
|
||||
* postgresql-testsuite-timezone-fix.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 19 11:21:38 UTC 2024 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Don't build the libs and mini flavor anymore to hand over to
|
||||
PostgreSQL 17.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 10 14:08:50 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Upgrade to 16.4 (bsc#1229013):
|
||||
* bsc#1229013, CVE-2024-7348 PostgreSQL relation replacement
|
||||
during pg_dump executes arbitrary SQL
|
||||
* https://www.postgresql.org/about/news/postgresql-164-158-1413-1316-1220-and-17-beta-3-released-2910/
|
||||
* https://www.postgresql.org/docs/release/16.4/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 8 08:28:48 UTC 2024 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Upgrade to 16.3 (bsc#1224051):
|
||||
* bsc#1224038, CVE-2024-4317: Restrict visibility of pg_stats_ext
|
||||
and pg_stats_ext_exprs entries to the table owner. See the
|
||||
release notes for the steps that have to be taken to fix
|
||||
existing PostgreSQL instances.
|
||||
* Fix incompatibility with LLVM 18.
|
||||
* https://www.postgresql.org/docs/release/16.3/
|
||||
- Prepare for PostgreSQL 17.
|
||||
- Make sure all compilation and doc generation happens in %build.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 12 22:48:41 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||
|
||||
- Require LLVM <= 17 for now, because LLVM 18 doesn't seem to work.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 7 15:04:40 UTC 2024 - Sarah Kriesch <sarah.kriesch@opensuse.org>
|
||||
|
||||
- Remove constraints file because improved memory usage for s390x
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 29 14:36:42 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Use %patch -P N instead of deprecated %patchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 8 13:22:49 UTC 2024 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Upgrade to 16.2:
|
||||
* bsc#1219679, CVE-2024-0985: Tighten security restrictions
|
||||
within REFRESH MATERIALIZED VIEW CONCURRENTLY.
|
||||
One step of a concurrent refresh command was run under weak
|
||||
security restrictions. If a materialized view's owner could
|
||||
persuade a superuser or other high-privileged user to perform a
|
||||
concurrent refresh on that view, the view's owner could control
|
||||
code executed with the privileges of the user running REFRESH.
|
||||
Fix things so that all user-determined code is run as the
|
||||
view's owner, as expected
|
||||
* If you use GIN indexes, you may need to reindex after updating
|
||||
to this release.
|
||||
* LLVM 18 is now supported.
|
||||
* https://www.postgresql.org/docs/release/16.2/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 8 14:09:29 UTC 2023 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Upgrade to 16.1:
|
||||
* bsc#1216962, CVE-2023-5868: Fix handling of unknown-type
|
||||
arguments in DISTINCT "any" aggregate functions. This error led
|
||||
to a text-type value being interpreted as an unknown-type value
|
||||
(that is, a zero-terminated string) at runtime. This could
|
||||
result in disclosure of server memory following the text value.
|
||||
* bsc#1216961, CVE-2023-5869: Detect integer overflow while
|
||||
computing new array dimensions. When assigning new elements to
|
||||
array subscripts that are outside the current array bounds, an
|
||||
undetected integer overflow could occur in edge cases. Memory
|
||||
stomps that are potentially exploitable for arbitrary code
|
||||
execution are possible, and so is disclosure of server memory.
|
||||
* bsc#1216960, CVE-2023-5870: Prevent the pg_signal_backend role
|
||||
from signalling background workers and autovacuum processes.
|
||||
The documentation says that pg_signal_backend cannot issue
|
||||
signals to superuser-owned processes. It was able to signal
|
||||
these background processes, though, because they advertise a
|
||||
role OID of zero. Treat that as indicating superuser ownership.
|
||||
The security implications of cancelling one of these process
|
||||
types are fairly small so far as the core code goes (we'll just
|
||||
start another one), but extensions might add background workers
|
||||
that are more vulnerable.
|
||||
Also ensure that the is_superuser parameter is set correctly in
|
||||
such processes. No specific security consequences are known for
|
||||
that oversight, but it might be significant for some extensions.
|
||||
* Add support for LLVM 16 and 17
|
||||
* https://www.postgresql.org/docs/16/release-16-1.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 31 10:57:13 UTC 2023 - Reinhard Max <max@suse.com>
|
||||
|
||||
- boo#1216734: Revert the last change and make the devel package
|
||||
independend of all other subpackages except for the libs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 10 12:49:02 UTC 2023 - Reinhard Max <max@suse.com>
|
||||
|
||||
- boo#1216022: Call install-alternatives from the devel subpackage
|
||||
as well, otherwise the symlink for ecpg might be missing.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 18 15:24:14 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Also buildignore the postgresql*-implementation symbols: this is
|
||||
needed in order to bootstrap when no postgresql version currently
|
||||
has valid symbols provided. Once the packages are built, OBS
|
||||
could translate this to the pgname-* packages and accept the
|
||||
ignores; during bootstrap though, there is nothing providing the
|
||||
symbol and the existing buildignores do not suffice.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 14 12:14:36 UTC 2023 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Upgrade to 16.0:
|
||||
* https://www.postgresql.org/about/news/2715
|
||||
* https://www.postgresql.org/docs/16/release-16.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 4 23:52:24 UTC 2023 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Upgrade to 16rc1:
|
||||
* https://www.postgresql.org/about/news/2702/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 10 15:18:58 UTC 2023 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Upgrade too v16beta3.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 7 13:08:04 UTC 2023 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Copy postgresql15 to postgresql16 and upgrade to v16beta2.
|
||||
- Don't create a unix domain socket under /tmp anymore.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 26 11:48:38 UTC 2023 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Restore the independence of mini builds from the main build after
|
||||
the -mini name change from April 4, 2023.
|
||||
- Adjust icu handling to prepare for PostgreSQL 16.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 15 14:20:25 UTC 2023 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Overhaul postgresql-README.SUSE and move it from the binary
|
||||
package to the noarch wrapper package.
|
||||
- Change the unix domain socket location from /var/run to /run.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 9 11:07:48 UTC 2023 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Update to 15.3:
|
||||
* bsc#1211228, CVE-2023-2454:
|
||||
Prevent CREATE SCHEMA from defeating changes in search_path
|
||||
* bsc#1211229, CVE-2023-2455: Enforce row-level security
|
||||
policies correctly after inlining a set-returning function
|
||||
* https://www.postgresql.org/about/news/2637/
|
||||
* https://www.postgresql.org/docs/15/release-15-3.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 18 09:05:09 UTC 2023 - Reinhard Max <max@suse.com>
|
||||
|
||||
- bsc#1210303: Stop using the obsolete internal %_restart_on_update
|
||||
macro and drop support for sysv init to simplify the scriptlets.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 4 10:57:41 UTC 2023 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- Include -mini in Name: to avoid conflicts in the source package
|
||||
name and OBS internal dependency tracking.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 9 11:38:35 UTC 2023 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Update to 15.2:
|
||||
* CVE-2022-41862, bsc#1208102: memory leak in libpq
|
||||
* https://www.postgresql.org/about/news/2592/
|
||||
* https://www.postgresql.org/docs/15/release-15-2.html
|
||||
- Bump latest_supported_llvm_ver to 15.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 10 14:35:02 UTC 2022 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Update to 15.1:
|
||||
* https://www.postgresql.org/about/news/2543/
|
||||
* https://www.postgresql.org/docs/15/release-15-1.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 14:03:27 UTC 2022 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Update to 15.0:
|
||||
* https://www.postgresql.org/about/news/p-2526/
|
||||
* https://www.postgresql.org/docs/15/release-15.html
|
||||
- Move pg_upgrade from *-contrib to *-server.
|
||||
- Drop support for the 9.x versioning scheme.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 6 13:20:57 UTC 2022 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Update to 15~rc2
|
||||
* https://www.postgresql.org/about/news/p-2521/
|
||||
* Reverting the "optimized order of GROUP BY keys" feature.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 10:43:09 UTC 2022 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- Fix source URLs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 14:02:38 UTC 2022 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Update to 15~rc1
|
||||
https://www.postgresql.org/about/news/p-2516/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 22 21:26:36 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||
|
||||
- Create mechanism to specify the latest supported LLVM version.
|
||||
Automatically pin to that version if the distribution has a newer
|
||||
unsupported default version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 12 09:25:30 UTC 2022 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- Disable LLVM JIT on riscv64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 8 13:37:01 UTC 2022 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Update to 15~beta4
|
||||
https://www.postgresql.org/about/news/p-2507/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 5 09:20:34 UTC 2022 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Update to 15~beta3
|
||||
https://www.postgresql.org/about/news/p-2496/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 21 20:48:45 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- use %version requires for the contrib package for now as
|
||||
15~beta1 is actually smaller than 15.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 21 15:25:26 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Add proper conditionals for lz4 and zstd
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 21 15:07:19 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Upgrade to 15~beta1
|
||||
https://www.postgresql.org/about/news/postgresql-15-beta-1-released-2453/
|
||||
https://www.postgresql.org/docs/15/release-15.html
|
||||
- Refreshed patches to apply cleanly again:
|
||||
0001-jit-Workaround-potential-datalayout-mismatch-on-s390.patch
|
||||
postgresql-conf.patch
|
||||
postgresql-llvm-optional.patch
|
||||
postgresql-plperl-keep-rpath.patch
|
||||
postgresql-testsuite-keep-results-file.patch
|
||||
postgresql-var-run-socket.patch
|
||||
- Add buildrequires for lz4 and zstd support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 21 14:39:42 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- fork package for postgresql 15
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 12 10:33:20 UTC 2022 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Upgrade to 14.3:
|
||||
* bsc#1199475, CVE-2022-1552: Confine additional operations
|
||||
within "security restricted operation" sandboxes.
|
||||
* https://www.postgresql.org/docs/14/release-14-3.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 13 12:17:48 UTC 2022 - Reinhard Max <max@suse.com>
|
||||
|
||||
- bsc#1198166: Pin to llvm13 until the next patchlevel update.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 8 14:01:56 UTC 2022 - Reinhard Max <max@suse.com>
|
||||
|
||||
- bsc#1195680: Upgrade to 14.2:
|
||||
* https://www.postgresql.org/docs/14/release-14-2.html
|
||||
* Reindexing might be needed after applying this upgrade, so
|
||||
please read the release notes carefully.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 11 17:27:53 UTC 2021 - Sarah Kriesch <ada.lovelace@gmx.de>
|
||||
|
||||
- boo#1190740: Add constraints file with 12GB of memory for s390x
|
||||
as a workaround
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 25 11:02:15 UTC 2021 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Add a llvmjit-devel subpackage to pull in the right versions
|
||||
of clang and llvm for building extensions.
|
||||
- Fix some mistakes in the interdependencies between the
|
||||
implementation packages and their noarch counterpart.
|
||||
- Update the BuildIgnore section.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 10 16:56:57 UTC 2021 - Reinhard Max <max@suse.com>
|
||||
|
||||
- bsc#1192516: Upgrade to 14.1
|
||||
* Make the server reject extraneous data after an SSL or GSS
|
||||
encryption handshake (CVE-2021-23214).
|
||||
* Make libpq reject extraneous data after an SSL or GSS
|
||||
encryption handshake (CVE-2021-23222).
|
||||
* https://www.postgresql.org/docs/14/release-14-1.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 20 15:21:53 UTC 2021 - Reinhard Max <max@suse.com>
|
||||
|
||||
- boo#1191782: Let rpmlint ignore shlib-policy-name-error.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 5 11:34:50 UTC 2021 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Remove postgresql-testsuite-int8.sql.patch, because its purpose
|
||||
is unclear. This affects only the test subpackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 30 17:28:37 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Upgrade to 14.0
|
||||
https://www.postgresql.org/about/news/postgresql-14-released-2318/
|
||||
https://www.postgresql.org/docs/14/release-14.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 27 14:04:01 UTC 2021 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Let genlists skip non-existing binaries to avoid lots of version
|
||||
conditionals in the file lists.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 25 00:34:52 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Upgrade to 14~rc1
|
||||
https://www.postgresql.org/about/news/postgresql-14-rc-1-released-2309/
|
||||
https://www.postgresql.org/docs/14/release-14.html
|
||||
https://wiki.postgresql.org/wiki/PostgreSQL_14_Open_Items
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 25 01:45:20 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Upgrade to 14~beta2
|
||||
https://www.postgresql.org/about/news/postgresql-14-beta-2-released-2249/
|
||||
https://www.postgresql.org/docs/14/release-14.html
|
||||
https://wiki.postgresql.org/wiki/PostgreSQL_14_Open_Items
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 21 22:48:32 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Upgrade to 14~beta1
|
||||
https://www.postgresql.org/about/news/postgresql-14-beta-1-released-2213/
|
||||
https://www.postgresql.org/docs/14/release-14.html
|
||||
https://wiki.postgresql.org/wiki/PostgreSQL_14_Open_Items
|
||||
- disable postgresql-testsuite-int8.sql.patch:
|
||||
it seems it is not needed anymore, need to be double checked.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 19 15:24:24 UTC 2021 - Reinhard Max <max@suse.com>
|
||||
|
||||
- bsc#1185952: llvm12 breaks PostgreSQL 11 and 12 on s390x.
|
||||
Use llvm11 as a workaround.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 11 13:50:14 UTC 2021 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Upgrade to version 13.3:
|
||||
* https://www.postgresql.org/docs/13/release-13-3.html
|
||||
* CVE-2021-32027, bsc#1185924:
|
||||
Prevent integer overflows in array subscripting calculations.
|
||||
* CVE-2021-32028, bsc#1185925: Fix mishandling of “junk”
|
||||
columns in INSERT ... ON CONFLICT ... UPDATE target lists.
|
||||
* CVE-2021-32029, bsc#1185926: Fix possibly-incorrect
|
||||
computation of UPDATE ... RETURNING
|
||||
"pg_psql_temporary_savepoint" does not exist”.
|
||||
|
||||
- Don't use %_stop_on_removal, because it was meant to be private
|
||||
and got removed from openSUSE. %_restart_on_update is also
|
||||
private, but still supported and needed for now (bsc#1183168).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 15 19:29:39 UTC 2021 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Re-enable build of the llvmjit subpackage on SLE, but it will
|
||||
only be delivered on PackageHub for now (boo#1183118).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 9 13:52:19 UTC 2021 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Remove leftover PreReq on chkconfig, we stopped using it long
|
||||
time ago.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 19 15:30:08 UTC 2021 - Reinhard Max <max@suse.com>
|
||||
|
||||
- boo#1179945: Disable icu for PostgreSQL 10 (and older) on TW.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 10 13:16:32 UTC 2021 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Upgrade to version 13.2:
|
||||
* https://www.postgresql.org/docs/13/release-13-2.html
|
||||
* Updating stored views and reindexing might be needed after
|
||||
applying this update.
|
||||
* CVE-2021-3393, bsc#1182040: Fix information leakage in
|
||||
constraint-violation error messages.
|
||||
* CVE-2021-20229, bsc#1182039: Fix failure to check per-column
|
||||
SELECT privileges in some join queries.
|
||||
* Obsoletes postgresql-icu68.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 14 16:19:05 UTC 2020 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
- Add postgresql-icu68.patch: fix build with ICU 68
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 20 11:51:37 UTC 2020 - Reinhard Max <max@suse.com>
|
||||
|
||||
- bsc#1178961: %ghost the symlinks to pg_config and ecpg.
|
||||
- boo#1179765: BuildRequire libpq5 and libecpg6 when not building
|
||||
them to avoid dangling symlinks in the devel package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 11 11:36:01 UTC 2020 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Upgrade to version 13.1:
|
||||
* CVE-2020-25695, bsc#1178666: Block DECLARE CURSOR ... WITH HOLD
|
||||
and firing of deferred triggers within index expressions and
|
||||
materialized view queries.
|
||||
* CVE-2020-25694, bsc#1178667:
|
||||
a) Fix usage of complex connection-string parameters in pg_dump,
|
||||
pg_restore, clusterdb, reindexdb, and vacuumdb.
|
||||
b) When psql's \connect command re-uses connection parameters,
|
||||
ensure that all non-overridden parameters from a previous
|
||||
connection string are re-used.
|
||||
* CVE-2020-25696, bsc#1178668: Prevent psql's \gset command from
|
||||
modifying specially-treated variables.
|
||||
* Fix recently-added timetz test case so it works when the USA
|
||||
is not observing daylight savings time.
|
||||
(obsoletes postgresql-timetz.patch)
|
||||
* https://www.postgresql.org/about/news/2111/
|
||||
* https://www.postgresql.org/docs/13/release-13-1.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 3 13:54:38 UTC 2020 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Fix a DST problem in the test suite: postgresql-timetz.patch
|
||||
https://postgr.es/m/16689-57701daa23b377bf@postgresql.org
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 25 06:57:55 UTC 2020 - Reinhard Max <max@suse.com>
|
||||
|
||||
- Initial packaging of PostgreSQL 13:
|
||||
* https://www.postgresql.org/about/news/2077/
|
||||
* https://www.postgresql.org/docs/13/release-13.html
|
1001
postgresql16.spec
Normal file
1001
postgresql16.spec
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user