Compare commits
95 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
22cc719777 | ||
|
be3eaa2525 | ||
|
9637a4eb78 | ||
|
01110f9fc1 | ||
|
261eac466c | ||
|
b70ea669e0 | ||
|
368b14b6a5 | ||
|
95a1777ae4 | ||
|
f86d009fdc | ||
|
f25f4d7c5d | ||
|
3de7e5024c | ||
|
5c5f249239 | ||
|
2c626b6e5d | ||
|
910a512dd4 | ||
|
87384430b2 | ||
|
e6a3dbb942 | ||
|
bcb06d9ada | ||
|
083e635254 | ||
|
e4bf7609cc | ||
|
538260fd70 | ||
|
3e105297fb | ||
|
b6f5483140 | ||
|
c56e80e096 | ||
|
27dc0dd200 | ||
|
d93212b654 | ||
|
70efd4431e | ||
|
ec07c9387a | ||
|
1d34e7d7b0 | ||
|
b498ca836e | ||
|
361bde51e2 | ||
|
5d5891d095 | ||
|
ad8ff44c19 | ||
|
840f216dc6 | ||
|
626e81aa1d | ||
|
6111911b25 | ||
|
ffc865e4a8 | ||
|
b46d68a9cb | ||
|
9242708bee | ||
|
15c9a5a7e3 | ||
|
51abe650bc | ||
|
ff6bdd20bf | ||
|
e4f9b1fa14 | ||
|
f1d6398874 | ||
|
be2d41d2fc | ||
|
db5a549f53 | ||
|
07daa8e53a | ||
|
12b384bfd8 | ||
|
82e5aaaf8d | ||
|
d18c574660 | ||
|
b707571b4f | ||
|
c8ac4491b6 | ||
|
cc5d65f927 | ||
|
1942c8b9d5 | ||
|
bf6f0859a8 | ||
|
3e9c3b569f | ||
|
8ac102b47e | ||
|
50065a2277 | ||
|
fa3717b8d2 | ||
|
5b5042670f | ||
|
d1c05385d1 | ||
|
0948580a64 | ||
|
7e0314402a | ||
|
82b3e4e96d | ||
|
0df80d97f3 | ||
|
a820a9eff8 | ||
|
5dec06f6e5 | ||
|
ead24cd155 | ||
|
55a65cc101 | ||
|
5fbaf23499 | ||
|
0a81447ee3 | ||
|
971c8f8aa3 | ||
|
6f2e35359f | ||
|
07894e0da4 | ||
|
4a3d2412bc | ||
|
83fb3d530a | ||
|
710aefbd49 | ||
|
d3a91d27a0 | ||
|
e1715bb6aa | ||
|
1fa73e0a7b | ||
|
d93550a71b | ||
|
698585a43d | ||
|
c719c5ea1e | ||
|
e244775c56 | ||
|
c27dd8df9e | ||
|
7c1110c041 | ||
|
25dea2dcb8 | ||
|
36a141a4c0 | ||
|
235453b233 | ||
|
19739cf1a6 | ||
|
5b2a26a63d | ||
|
4aa087fae3 | ||
|
cb6e898698 | ||
|
56b78dd057 | ||
|
19af2059f2 | ||
|
55a2b11e5d |
9
.gitignore
vendored
9
.gitignore
vendored
@ -1,6 +1,3 @@
|
||||
/postgresql-9.5.6.tar.bz2
|
||||
/postgresql-9.5.6.tar.bz2.sha256
|
||||
/postgresql-9.6.2.tar.bz2
|
||||
/postgresql-9.6.2.tar.bz2.sha256
|
||||
/postgresql-setup-5.0.tar.gz
|
||||
/postgresql-9.6.2-US.pdf
|
||||
/postgresql-*.tar.bz2*
|
||||
/postgresql-setup-*.tar.gz
|
||||
/postgresql-*-US.pdf
|
||||
|
@ -47,7 +47,9 @@ installcheck-parallel: cleandirs
|
||||
cleandirs:
|
||||
-rm -rf testtablespace results
|
||||
mkdir testtablespace results
|
||||
[ -x /usr/bin/chcon ] && /usr/bin/chcon -u system_u -r object_r -t postgresql_db_t testtablespace results
|
||||
if test -x /usr/bin/chcon && ! test -f /.dockerenv; then \
|
||||
/usr/bin/chcon -u system_u -r object_r -t postgresql_db_t testtablespace results ; \
|
||||
fi
|
||||
|
||||
# old interfaces follow...
|
||||
|
||||
|
@ -18,7 +18,10 @@ set -e
|
||||
# Pass package version (e.g., 9.1.2) as argument
|
||||
VERSION=$1
|
||||
|
||||
test -z "$VERSION" && VERSION=`awk '/^Version:/ { print $2; }' postgresql.spec`
|
||||
|
||||
TARGETFILE=postgresql-$VERSION-US.pdf
|
||||
test -f "$TARGETFILE" && echo "$TARGETFILE exists" && exit 1
|
||||
|
||||
echo Building $TARGETFILE ...
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#! /bin/sh
|
||||
|
||||
rm sources .gitignore
|
||||
rm sources
|
||||
set -e
|
||||
spectool -S *.spec | cut -d' ' -f2 \
|
||||
| grep -E -e 'postgresql-.*\.tar\.*' -e 'postgresql.*\.pdf' | sort | \
|
||||
@ -8,6 +8,5 @@ while read line
|
||||
do
|
||||
base=`basename "$line"`
|
||||
echo " * handling $base"
|
||||
md5sum "$base" >> sources
|
||||
echo "/$base" >> .gitignore
|
||||
sha512sum --tag "$base" >> sources
|
||||
done
|
192
hstore-plperl-data-dumper.patch
Normal file
192
hstore-plperl-data-dumper.patch
Normal file
@ -0,0 +1,192 @@
|
||||
From 69db3b0cfccc0687dfbdf56afcfb2f8e536053c6 Mon Sep 17 00:00:00 2001
|
||||
From: Andrew Dunstan <andrew@dunslane.net>
|
||||
Date: Sun, 14 May 2017 01:10:18 -0400
|
||||
Subject: [PATCH] Suppress indentation from Data::Dumper in regression tests
|
||||
|
||||
Ultra-modern versions of the perl Data::Dumper module have apparently
|
||||
changed how they indent output. Instead of trying to keep up we choose
|
||||
to tell it to supporess all indentation in the hstore_plperl regression
|
||||
tests.
|
||||
|
||||
Backpatch to 9.5 where this feature was introduced.
|
||||
---
|
||||
contrib/hstore_plperl/expected/hstore_plperlu.out | 44 ++++++-----------------
|
||||
contrib/hstore_plperl/sql/hstore_plperlu.sql | 6 ++++
|
||||
2 files changed, 17 insertions(+), 33 deletions(-)
|
||||
|
||||
diff --git a/contrib/hstore_plperl/expected/hstore_plperlu.out b/contrib/hstore_plperl/expected/hstore_plperlu.out
|
||||
index b09fb78..d719d29 100644
|
||||
--- a/contrib/hstore_plperl/expected/hstore_plperlu.out
|
||||
+++ b/contrib/hstore_plperl/expected/hstore_plperlu.out
|
||||
@@ -20,15 +20,12 @@ TRANSFORM FOR TYPE hstore
|
||||
AS $$
|
||||
use Data::Dumper;
|
||||
$Data::Dumper::Sortkeys = 1;
|
||||
+$Data::Dumper::Indent = 0;
|
||||
elog(INFO, Dumper($_[0]));
|
||||
return scalar(keys %{$_[0]});
|
||||
$$;
|
||||
SELECT test1('aa=>bb, cc=>NULL'::hstore);
|
||||
-INFO: $VAR1 = {
|
||||
- 'aa' => 'bb',
|
||||
- 'cc' => undef
|
||||
- };
|
||||
-
|
||||
+INFO: $VAR1 = {'aa' => 'bb','cc' => undef};
|
||||
test1
|
||||
-------
|
||||
2
|
||||
@@ -39,12 +36,12 @@ LANGUAGE plperlu
|
||||
AS $$
|
||||
use Data::Dumper;
|
||||
$Data::Dumper::Sortkeys = 1;
|
||||
+$Data::Dumper::Indent = 0;
|
||||
elog(INFO, Dumper($_[0]));
|
||||
return scalar(keys %{$_[0]});
|
||||
$$;
|
||||
SELECT test1none('aa=>bb, cc=>NULL'::hstore);
|
||||
INFO: $VAR1 = '"aa"=>"bb", "cc"=>NULL';
|
||||
-
|
||||
test1none
|
||||
-----------
|
||||
0
|
||||
@@ -56,15 +53,12 @@ TRANSFORM FOR TYPE hstore
|
||||
AS $$
|
||||
use Data::Dumper;
|
||||
$Data::Dumper::Sortkeys = 1;
|
||||
+$Data::Dumper::Indent = 0;
|
||||
elog(INFO, Dumper($_[0]));
|
||||
return scalar(keys %{$_[0]});
|
||||
$$;
|
||||
SELECT test1list('aa=>bb, cc=>NULL'::hstore);
|
||||
-INFO: $VAR1 = {
|
||||
- 'aa' => 'bb',
|
||||
- 'cc' => undef
|
||||
- };
|
||||
-
|
||||
+INFO: $VAR1 = {'aa' => 'bb','cc' => undef};
|
||||
test1list
|
||||
-----------
|
||||
2
|
||||
@@ -77,18 +71,12 @@ TRANSFORM FOR TYPE hstore
|
||||
AS $$
|
||||
use Data::Dumper;
|
||||
$Data::Dumper::Sortkeys = 1;
|
||||
+$Data::Dumper::Indent = 0;
|
||||
elog(INFO, Dumper($_[0]->[0], $_[0]->[1]));
|
||||
return scalar(keys %{$_[0]});
|
||||
$$;
|
||||
SELECT test1arr(array['aa=>bb, cc=>NULL'::hstore, 'dd=>ee']);
|
||||
-INFO: $VAR1 = {
|
||||
- 'aa' => 'bb',
|
||||
- 'cc' => undef
|
||||
- };
|
||||
-$VAR2 = {
|
||||
- 'dd' => 'ee'
|
||||
- };
|
||||
-
|
||||
+INFO: $VAR1 = {'aa' => 'bb','cc' => undef};$VAR2 = {'dd' => 'ee'};
|
||||
test1arr
|
||||
----------
|
||||
2
|
||||
@@ -101,6 +89,7 @@ TRANSFORM FOR TYPE hstore
|
||||
AS $$
|
||||
use Data::Dumper;
|
||||
$Data::Dumper::Sortkeys = 1;
|
||||
+$Data::Dumper::Indent = 0;
|
||||
|
||||
$rv = spi_exec_query(q{SELECT 'aa=>bb, cc=>NULL'::hstore AS col1});
|
||||
elog(INFO, Dumper($rv->{rows}[0]->{col1}));
|
||||
@@ -111,13 +100,8 @@ $rv = spi_exec_prepared($plan, {}, $val);
|
||||
elog(INFO, Dumper($rv->{rows}[0]->{col1}));
|
||||
$$;
|
||||
SELECT test3();
|
||||
-INFO: $VAR1 = {
|
||||
- 'aa' => 'bb',
|
||||
- 'cc' => undef
|
||||
- };
|
||||
-
|
||||
+INFO: $VAR1 = {'aa' => 'bb','cc' => undef};
|
||||
INFO: $VAR1 = '"a"=>"1", "b"=>"boo", "c"=>NULL';
|
||||
-
|
||||
test3
|
||||
-------
|
||||
|
||||
@@ -138,6 +122,7 @@ TRANSFORM FOR TYPE hstore
|
||||
AS $$
|
||||
use Data::Dumper;
|
||||
$Data::Dumper::Sortkeys = 1;
|
||||
+$Data::Dumper::Indent = 0;
|
||||
elog(INFO, Dumper($_TD->{new}));
|
||||
if ($_TD->{new}{a} == 1) {
|
||||
$_TD->{new}{b} = {a => 1, b => 'boo', c => undef};
|
||||
@@ -147,14 +132,7 @@ return "MODIFY";
|
||||
$$;
|
||||
CREATE TRIGGER test4 BEFORE UPDATE ON test1 FOR EACH ROW EXECUTE PROCEDURE test4();
|
||||
UPDATE test1 SET a = a;
|
||||
-INFO: $VAR1 = {
|
||||
- 'a' => '1',
|
||||
- 'b' => {
|
||||
- 'aa' => 'bb',
|
||||
- 'cc' => undef
|
||||
- }
|
||||
- };
|
||||
-
|
||||
+INFO: $VAR1 = {'a' => '1','b' => {'aa' => 'bb','cc' => undef}};
|
||||
SELECT * FROM test1;
|
||||
a | b
|
||||
---+---------------------------------
|
||||
diff --git a/contrib/hstore_plperl/sql/hstore_plperlu.sql b/contrib/hstore_plperl/sql/hstore_plperlu.sql
|
||||
index 8d8508c..c714b35 100644
|
||||
--- a/contrib/hstore_plperl/sql/hstore_plperlu.sql
|
||||
+++ b/contrib/hstore_plperl/sql/hstore_plperlu.sql
|
||||
@@ -15,6 +15,7 @@ TRANSFORM FOR TYPE hstore
|
||||
AS $$
|
||||
use Data::Dumper;
|
||||
$Data::Dumper::Sortkeys = 1;
|
||||
+$Data::Dumper::Indent = 0;
|
||||
elog(INFO, Dumper($_[0]));
|
||||
return scalar(keys %{$_[0]});
|
||||
$$;
|
||||
@@ -26,6 +27,7 @@ LANGUAGE plperlu
|
||||
AS $$
|
||||
use Data::Dumper;
|
||||
$Data::Dumper::Sortkeys = 1;
|
||||
+$Data::Dumper::Indent = 0;
|
||||
elog(INFO, Dumper($_[0]));
|
||||
return scalar(keys %{$_[0]});
|
||||
$$;
|
||||
@@ -38,6 +40,7 @@ TRANSFORM FOR TYPE hstore
|
||||
AS $$
|
||||
use Data::Dumper;
|
||||
$Data::Dumper::Sortkeys = 1;
|
||||
+$Data::Dumper::Indent = 0;
|
||||
elog(INFO, Dumper($_[0]));
|
||||
return scalar(keys %{$_[0]});
|
||||
$$;
|
||||
@@ -52,6 +55,7 @@ TRANSFORM FOR TYPE hstore
|
||||
AS $$
|
||||
use Data::Dumper;
|
||||
$Data::Dumper::Sortkeys = 1;
|
||||
+$Data::Dumper::Indent = 0;
|
||||
elog(INFO, Dumper($_[0]->[0], $_[0]->[1]));
|
||||
return scalar(keys %{$_[0]});
|
||||
$$;
|
||||
@@ -66,6 +70,7 @@ TRANSFORM FOR TYPE hstore
|
||||
AS $$
|
||||
use Data::Dumper;
|
||||
$Data::Dumper::Sortkeys = 1;
|
||||
+$Data::Dumper::Indent = 0;
|
||||
|
||||
$rv = spi_exec_query(q{SELECT 'aa=>bb, cc=>NULL'::hstore AS col1});
|
||||
elog(INFO, Dumper($rv->{rows}[0]->{col1}));
|
||||
@@ -90,6 +95,7 @@ TRANSFORM FOR TYPE hstore
|
||||
AS $$
|
||||
use Data::Dumper;
|
||||
$Data::Dumper::Sortkeys = 1;
|
||||
+$Data::Dumper::Indent = 0;
|
||||
elog(INFO, Dumper($_TD->{new}));
|
||||
if ($_TD->{new}{a} == 1) {
|
||||
$_TD->{new}{b} = {a => 1, b => 'boo', c => undef};
|
||||
--
|
||||
2.1.4
|
43
postgresql-external-libpq.patch
Normal file
43
postgresql-external-libpq.patch
Normal file
@ -0,0 +1,43 @@
|
||||
We don't build/install interfaces by upstream's implicit rules.
|
||||
|
||||
This patch is used on two places; postgresql.spec and libecpg.spec -- keep those
|
||||
in sync!
|
||||
|
||||
Related: rhbz#1618698
|
||||
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index bcdbd95..4bea236 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -20,7 +20,6 @@ SUBDIRS = \
|
||||
backend/utils/mb/conversion_procs \
|
||||
backend/snowball \
|
||||
include \
|
||||
- interfaces \
|
||||
backend/replication/libpqwalreceiver \
|
||||
backend/replication/pgoutput \
|
||||
fe_utils \
|
||||
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
|
||||
index b9d86ac..29df69f 100644
|
||||
--- a/src/Makefile.global.in
|
||||
+++ b/src/Makefile.global.in
|
||||
@@ -549,7 +549,7 @@ endif
|
||||
# How to link to libpq. (This macro may be used as-is by backend extensions.
|
||||
# Client-side code should go through libpq_pgport or libpq_pgport_shlib,
|
||||
# instead.)
|
||||
-libpq = -L$(libpq_builddir) -lpq
|
||||
+libpq = -lpq
|
||||
|
||||
# libpq_pgport is for use by client executables (not libraries) that use libpq.
|
||||
# We force clients to pull symbols from the non-shared libraries libpgport
|
||||
@@ -579,7 +579,6 @@ endif
|
||||
# Commonly used submake targets
|
||||
|
||||
submake-libpq: | submake-generated-headers
|
||||
- $(MAKE) -C $(libpq_builddir) all
|
||||
|
||||
submake-libpgport: | submake-generated-headers
|
||||
$(MAKE) -C $(top_builddir)/src/port all
|
||||
--
|
||||
2.21.0
|
||||
|
@ -13,9 +13,9 @@ diff -Naur postgresql-9.1rc1.orig/src/backend/utils/misc/postgresql.conf.sample
|
||||
# into log files. Required to be on for
|
||||
# csvlogs.
|
||||
# (change requires restart)
|
||||
@@ -287,11 +287,11 @@
|
||||
@@ -355,11 +355,11 @@
|
||||
# These are only used if logging_collector is on:
|
||||
#log_directory = 'pg_log' # directory where log files are written,
|
||||
#log_directory = 'log' # directory where log files are written,
|
||||
# can be absolute or relative to PGDATA
|
||||
-#log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,
|
||||
+log_filename = 'postgresql-%a.log' # log file name pattern,
|
||||
@ -27,7 +27,7 @@ diff -Naur postgresql-9.1rc1.orig/src/backend/utils/misc/postgresql.conf.sample
|
||||
# same name as the new log file will be
|
||||
# truncated rather than appended to.
|
||||
# But such truncation only occurs on
|
||||
@@ -299,9 +299,9 @@
|
||||
@@ -367,9 +367,9 @@
|
||||
# or size-driven rotation. Default is
|
||||
# off, meaning append to existing files
|
||||
# in all cases.
|
||||
|
@ -1,22 +0,0 @@
|
||||
We configure Postgres with --disable-rpath because for the most part we
|
||||
want to leave it to ldconfig to determine where libraries are. However,
|
||||
for some reason the Perl package puts libperl.so in a nonstandard place
|
||||
and doesn't add that place to the ldconfig search path. I think this
|
||||
is a Perl packaging bug, myself, but apparently it's not going to change.
|
||||
So work around it by adding an rpath spec to plperl.so (only).
|
||||
Per bug #162198.
|
||||
|
||||
|
||||
diff -Naur postgresql-9.1.5.orig/src/pl/plperl/GNUmakefile postgresql-9.1.5/src/pl/plperl/GNUmakefile
|
||||
--- postgresql-9.1.5.orig/src/pl/plperl/GNUmakefile 2012-08-14 18:41:04.000000000 -0400
|
||||
+++ postgresql-9.1.5/src/pl/plperl/GNUmakefile 2012-08-17 11:15:09.457116708 -0400
|
||||
@@ -43,6 +43,9 @@
|
||||
|
||||
SHLIB_LINK = $(perl_embed_ldflags)
|
||||
|
||||
+# Force rpath to be used even though we disable it everywhere else
|
||||
+SHLIB_LINK += $(rpath)
|
||||
+
|
||||
REGRESS_OPTS = --dbname=$(PL_TESTDB) --load-extension=plperl --load-extension=plperlu
|
||||
REGRESS = plperl plperl_lc plperl_trigger plperl_shared plperl_elog plperl_util plperl_init plperlu plperl_array
|
||||
# if Perl can support two interpreters in one backend,
|
59
postgresql-server-pg_config.patch
Normal file
59
postgresql-server-pg_config.patch
Normal file
@ -0,0 +1,59 @@
|
||||
We should ideally provide '/bin/pg_config' in postgresql-server-devel, and
|
||||
provide no pg_config binary in libpq package. But most of the Fedora packages
|
||||
that use pg_config actually only build against PG libraries (and
|
||||
postgresql-server-devel isn't needed). So.., to avoid the initial rush around
|
||||
rhbz#1618698 change, rather provide pg_server_config binary, which int urn means
|
||||
that we'll have to fix only a minimal set of packages which really build
|
||||
PostgreSQL server modules.
|
||||
|
||||
diff --git a/src/bin/pg_config/Makefile b/src/bin/pg_config/Makefile
|
||||
index 02e6f9d..f7c844f 100644
|
||||
--- a/src/bin/pg_config/Makefile
|
||||
+++ b/src/bin/pg_config/Makefile
|
||||
@@ -11,28 +11,30 @@
|
||||
PGFILEDESC = "pg_config - report configuration information"
|
||||
PGAPPICON=win32
|
||||
|
||||
+PG_CONFIG = pg_server_config$(X)
|
||||
+
|
||||
subdir = src/bin/pg_config
|
||||
top_builddir = ../../..
|
||||
include $(top_builddir)/src/Makefile.global
|
||||
|
||||
OBJS= pg_config.o $(WIN32RES)
|
||||
|
||||
-all: pg_config
|
||||
+all: $(PG_CONFIG)
|
||||
|
||||
-pg_config: $(OBJS) | submake-libpgport
|
||||
- $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X)
|
||||
+$(PG_CONFIG): $(OBJS) | submake-libpgport
|
||||
+ $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@
|
||||
|
||||
install: all installdirs
|
||||
- $(INSTALL_SCRIPT) pg_config$(X) '$(DESTDIR)$(bindir)/pg_config$(X)'
|
||||
+ $(INSTALL_SCRIPT) $(PG_CONFIG) '$(DESTDIR)$(bindir)/$(PG_CONFIG)'
|
||||
|
||||
installdirs:
|
||||
$(MKDIR_P) '$(DESTDIR)$(bindir)'
|
||||
|
||||
uninstall:
|
||||
- rm -f '$(DESTDIR)$(bindir)/pg_config$(X)'
|
||||
+ rm -f '$(DESTDIR)$(bindir)/$(PG_CONFIG)'
|
||||
|
||||
clean distclean maintainer-clean:
|
||||
- rm -f pg_config$(X) $(OBJS)
|
||||
+ rm -f $(PG_CONFIG) $(OBJS)
|
||||
rm -rf tmp_check
|
||||
|
||||
check:
|
||||
diff --git a/src/bin/pg_config/nls.mk b/src/bin/pg_config/nls.mk
|
||||
index 1d41f90..0f34f37 100644
|
||||
--- a/src/bin/pg_config/nls.mk
|
||||
+++ b/src/bin/pg_config/nls.mk
|
||||
@@ -1,4 +1,4 @@
|
||||
# src/bin/pg_config/nls.mk
|
||||
-CATALOG_NAME = pg_config
|
||||
+CATALOG_NAME = pg_server_config
|
||||
AVAIL_LANGUAGES = cs de es fr he it ja ko pl pt_BR ro ru sv tr uk vi zh_CN zh_TW
|
||||
GETTEXT_FILES = pg_config.c ../../common/config_info.c ../../common/exec.c
|
@ -1,751 +0,0 @@
|
||||
From d8ec6b9c8c265c2f29b1c0e0e4205895baaa326d Mon Sep 17 00:00:00 2001
|
||||
From: Tom Lane <tgl@sss.pgh.pa.us>
|
||||
Date: Thu, 9 Mar 2017 17:20:11 -0500
|
||||
Subject: [PATCH] Fix timestamptz regression test to still work with latest
|
||||
IANA zone data.
|
||||
|
||||
The IANA timezone crew continues to chip away at their project of removing
|
||||
timezone abbreviations that have no real-world currency from their
|
||||
database. The tzdata2017a update removes all such abbreviations for
|
||||
South American zones, as well as much of the Pacific. This breaks some
|
||||
test cases in timestamptz.sql that were expecting America/Santiago and
|
||||
America/Caracas to have non-numeric abbreviations.
|
||||
|
||||
The test cases involving America/Santiago seem to have selected that
|
||||
zone more or less at random, so just replace it with America/New_York,
|
||||
which is of similar longitude. The cases involving America/Caracas are
|
||||
harder since they were chosen to test a time-varying zone abbreviation
|
||||
around a point where it changed meaning in the backwards direction.
|
||||
Fortunately, Europe/Moscow has a similar case in 2014, and the MSK/MSD
|
||||
abbreviations are well enough attested that IANA seems unlikely to
|
||||
decide to remove them from the database in future.
|
||||
|
||||
With these changes, this regression test should pass when using any IANA
|
||||
zone database from 2015 or later. One could wish that there were a few
|
||||
years more daylight on how out-of-date your zone database can be ... but
|
||||
really the --with-system-tzdata option is only meant for use on platforms
|
||||
where the zone database is kept up-to-date pretty faithfully, so I do not
|
||||
think this is a big objection.
|
||||
|
||||
Discussion: https://postgr.es/m/6749.1489087470@sss.pgh.pa.us
|
||||
---
|
||||
src/test/regress/expected/timestamptz.out | 324 ++++++++++--------------------
|
||||
src/test/regress/sql/timestamptz.sql | 103 ++++------
|
||||
2 files changed, 148 insertions(+), 279 deletions(-)
|
||||
|
||||
diff --git a/src/test/regress/expected/timestamptz.out b/src/test/regress/expected/timestamptz.out
|
||||
index 51d4d21..3319247 100644
|
||||
--- a/src/test/regress/expected/timestamptz.out
|
||||
+++ b/src/test/regress/expected/timestamptz.out
|
||||
@@ -1773,24 +1773,24 @@ SELECT * FROM TIMESTAMPTZ_TST ORDER BY a;
|
||||
--Cleanup
|
||||
DROP TABLE TIMESTAMPTZ_TST;
|
||||
-- test timestamptz constructors
|
||||
-set TimeZone to 'America/Santiago';
|
||||
+set TimeZone to 'America/New_York';
|
||||
-- numeric timezone
|
||||
SELECT make_timestamptz(1973, 07, 15, 08, 15, 55.33);
|
||||
make_timestamptz
|
||||
---------------------------------
|
||||
- Sun Jul 15 08:15:55.33 1973 CLT
|
||||
+ Sun Jul 15 08:15:55.33 1973 EDT
|
||||
(1 row)
|
||||
|
||||
SELECT make_timestamptz(1973, 07, 15, 08, 15, 55.33, '+2');
|
||||
make_timestamptz
|
||||
---------------------------------
|
||||
- Sun Jul 15 02:15:55.33 1973 CLT
|
||||
+ Sun Jul 15 02:15:55.33 1973 EDT
|
||||
(1 row)
|
||||
|
||||
SELECT make_timestamptz(1973, 07, 15, 08, 15, 55.33, '-2');
|
||||
make_timestamptz
|
||||
---------------------------------
|
||||
- Sun Jul 15 06:15:55.33 1973 CLT
|
||||
+ Sun Jul 15 06:15:55.33 1973 EDT
|
||||
(1 row)
|
||||
|
||||
WITH tzs (tz) AS (VALUES
|
||||
@@ -1799,23 +1799,23 @@ WITH tzs (tz) AS (VALUES
|
||||
('+10:00:1'), ('+10:00:01'),
|
||||
('+10:00:10'))
|
||||
SELECT make_timestamptz(2010, 2, 27, 3, 45, 00, tz), tz FROM tzs;
|
||||
- make_timestamptz | tz
|
||||
--------------------------------+-----------
|
||||
- Fri Feb 26 23:45:00 2010 CLST | +1
|
||||
- Fri Feb 26 23:45:00 2010 CLST | +1:
|
||||
- Fri Feb 26 23:45:00 2010 CLST | +1:0
|
||||
- Fri Feb 26 23:45:00 2010 CLST | +100
|
||||
- Fri Feb 26 23:45:00 2010 CLST | +1:00
|
||||
- Fri Feb 26 23:45:00 2010 CLST | +01:00
|
||||
- Fri Feb 26 14:45:00 2010 CLST | +10
|
||||
- Fri Feb 26 14:45:00 2010 CLST | +1000
|
||||
- Fri Feb 26 14:45:00 2010 CLST | +10:
|
||||
- Fri Feb 26 14:45:00 2010 CLST | +10:0
|
||||
- Fri Feb 26 14:45:00 2010 CLST | +10:00
|
||||
- Fri Feb 26 14:45:00 2010 CLST | +10:00:
|
||||
- Fri Feb 26 14:44:59 2010 CLST | +10:00:1
|
||||
- Fri Feb 26 14:44:59 2010 CLST | +10:00:01
|
||||
- Fri Feb 26 14:44:50 2010 CLST | +10:00:10
|
||||
+ make_timestamptz | tz
|
||||
+------------------------------+-----------
|
||||
+ Fri Feb 26 21:45:00 2010 EST | +1
|
||||
+ Fri Feb 26 21:45:00 2010 EST | +1:
|
||||
+ Fri Feb 26 21:45:00 2010 EST | +1:0
|
||||
+ Fri Feb 26 21:45:00 2010 EST | +100
|
||||
+ Fri Feb 26 21:45:00 2010 EST | +1:00
|
||||
+ Fri Feb 26 21:45:00 2010 EST | +01:00
|
||||
+ Fri Feb 26 12:45:00 2010 EST | +10
|
||||
+ Fri Feb 26 12:45:00 2010 EST | +1000
|
||||
+ Fri Feb 26 12:45:00 2010 EST | +10:
|
||||
+ Fri Feb 26 12:45:00 2010 EST | +10:0
|
||||
+ Fri Feb 26 12:45:00 2010 EST | +10:00
|
||||
+ Fri Feb 26 12:45:00 2010 EST | +10:00:
|
||||
+ Fri Feb 26 12:44:59 2010 EST | +10:00:1
|
||||
+ Fri Feb 26 12:44:59 2010 EST | +10:00:01
|
||||
+ Fri Feb 26 12:44:50 2010 EST | +10:00:10
|
||||
(15 rows)
|
||||
|
||||
-- these should fail
|
||||
@@ -1861,30 +1861,29 @@ SELECT make_timestamptz(1881, 12, 10, 0, 0, 0, 'Europe/Paris') AT TIME ZONE 'UTC
|
||||
SELECT make_timestamptz(1910, 12, 24, 0, 0, 0, 'Nehwon/Lankhmar');
|
||||
ERROR: time zone "Nehwon/Lankhmar" not recognized
|
||||
-- abbreviations
|
||||
-SELECT make_timestamptz(2008, 12, 10, 10, 10, 10, 'CLST');
|
||||
- make_timestamptz
|
||||
--------------------------------
|
||||
- Wed Dec 10 10:10:10 2008 CLST
|
||||
+SELECT make_timestamptz(2008, 12, 10, 10, 10, 10, 'EST');
|
||||
+ make_timestamptz
|
||||
+------------------------------
|
||||
+ Wed Dec 10 10:10:10 2008 EST
|
||||
(1 row)
|
||||
|
||||
-SELECT make_timestamptz(2008, 12, 10, 10, 10, 10, 'CLT');
|
||||
- make_timestamptz
|
||||
--------------------------------
|
||||
- Wed Dec 10 11:10:10 2008 CLST
|
||||
+SELECT make_timestamptz(2008, 12, 10, 10, 10, 10, 'EDT');
|
||||
+ make_timestamptz
|
||||
+------------------------------
|
||||
+ Wed Dec 10 09:10:10 2008 EST
|
||||
(1 row)
|
||||
|
||||
SELECT make_timestamptz(2014, 12, 10, 10, 10, 10, 'PST8PDT');
|
||||
- make_timestamptz
|
||||
--------------------------------
|
||||
- Wed Dec 10 15:10:10 2014 CLST
|
||||
+ make_timestamptz
|
||||
+------------------------------
|
||||
+ Wed Dec 10 13:10:10 2014 EST
|
||||
(1 row)
|
||||
|
||||
RESET TimeZone;
|
||||
--
|
||||
-- Test behavior with a dynamic (time-varying) timezone abbreviation.
|
||||
-- These tests rely on the knowledge that MSK (Europe/Moscow standard time)
|
||||
--- moved forwards in Mar 2011 and that VET (America/Caracas standard time)
|
||||
--- moved backwards in Dec 2007.
|
||||
+-- moved forwards in Mar 2011 and backwards again in Oct 2014.
|
||||
--
|
||||
SET TimeZone to 'UTC';
|
||||
SELECT '2011-03-27 00:00:00 Europe/Moscow'::timestamptz;
|
||||
@@ -1995,100 +1994,64 @@ SELECT '2011-03-27 04:00:00 MSK'::timestamptz;
|
||||
Sun Mar 27 00:00:00 2011 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 02:00:00 America/Caracas'::timestamptz;
|
||||
+SELECT '2014-10-26 00:00:00 Europe/Moscow'::timestamptz;
|
||||
timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 06:00:00 2007 UTC
|
||||
+ Sat Oct 25 20:00:00 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 02:29:59 America/Caracas'::timestamptz;
|
||||
+SELECT '2014-10-26 00:59:59 Europe/Moscow'::timestamptz;
|
||||
timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 06:29:59 2007 UTC
|
||||
+ Sat Oct 25 20:59:59 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 02:30:00 America/Caracas'::timestamptz;
|
||||
+SELECT '2014-10-26 01:00:00 Europe/Moscow'::timestamptz;
|
||||
timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 07:00:00 2007 UTC
|
||||
+ Sat Oct 25 22:00:00 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 02:30:01 America/Caracas'::timestamptz;
|
||||
+SELECT '2014-10-26 01:00:01 Europe/Moscow'::timestamptz;
|
||||
timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 07:00:01 2007 UTC
|
||||
+ Sat Oct 25 22:00:01 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 02:59:59 America/Caracas'::timestamptz;
|
||||
+SELECT '2014-10-26 02:00:00 Europe/Moscow'::timestamptz;
|
||||
timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 07:29:59 2007 UTC
|
||||
+ Sat Oct 25 23:00:00 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 03:00:00 America/Caracas'::timestamptz;
|
||||
+SELECT '2014-10-26 00:00:00 MSK'::timestamptz;
|
||||
timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 07:30:00 2007 UTC
|
||||
+ Sat Oct 25 20:00:00 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 03:00:01 America/Caracas'::timestamptz;
|
||||
+SELECT '2014-10-26 00:59:59 MSK'::timestamptz;
|
||||
timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 07:30:01 2007 UTC
|
||||
+ Sat Oct 25 20:59:59 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 04:00:00 America/Caracas'::timestamptz;
|
||||
+SELECT '2014-10-26 01:00:00 MSK'::timestamptz;
|
||||
timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 08:30:00 2007 UTC
|
||||
+ Sat Oct 25 22:00:00 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 02:00:00 VET'::timestamptz;
|
||||
+SELECT '2014-10-26 01:00:01 MSK'::timestamptz;
|
||||
timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 06:00:00 2007 UTC
|
||||
+ Sat Oct 25 22:00:01 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 02:29:59 VET'::timestamptz;
|
||||
+SELECT '2014-10-26 02:00:00 MSK'::timestamptz;
|
||||
timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 06:29:59 2007 UTC
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 02:30:00 VET'::timestamptz;
|
||||
- timestamptz
|
||||
-------------------------------
|
||||
- Sun Dec 09 07:00:00 2007 UTC
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 02:30:01 VET'::timestamptz;
|
||||
- timestamptz
|
||||
-------------------------------
|
||||
- Sun Dec 09 07:00:01 2007 UTC
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 02:59:59 VET'::timestamptz;
|
||||
- timestamptz
|
||||
-------------------------------
|
||||
- Sun Dec 09 07:29:59 2007 UTC
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 03:00:00 VET'::timestamptz;
|
||||
- timestamptz
|
||||
-------------------------------
|
||||
- Sun Dec 09 07:30:00 2007 UTC
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 03:00:01 VET'::timestamptz;
|
||||
- timestamptz
|
||||
-------------------------------
|
||||
- Sun Dec 09 07:30:01 2007 UTC
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 04:00:00 VET'::timestamptz;
|
||||
- timestamptz
|
||||
-------------------------------
|
||||
- Sun Dec 09 08:30:00 2007 UTC
|
||||
+ Sat Oct 25 23:00:00 2014 UTC
|
||||
(1 row)
|
||||
|
||||
SELECT '2011-03-27 00:00:00'::timestamp AT TIME ZONE 'Europe/Moscow';
|
||||
@@ -2199,112 +2162,76 @@ SELECT '2011-03-27 04:00:00'::timestamp AT TIME ZONE 'MSK';
|
||||
Sun Mar 27 00:00:00 2011 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 02:00:00'::timestamp AT TIME ZONE 'America/Caracas';
|
||||
+SELECT '2014-10-26 00:00:00'::timestamp AT TIME ZONE 'Europe/Moscow';
|
||||
timezone
|
||||
------------------------------
|
||||
- Sun Dec 09 06:00:00 2007 UTC
|
||||
+ Sat Oct 25 20:00:00 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 02:29:59'::timestamp AT TIME ZONE 'America/Caracas';
|
||||
+SELECT '2014-10-26 00:59:59'::timestamp AT TIME ZONE 'Europe/Moscow';
|
||||
timezone
|
||||
------------------------------
|
||||
- Sun Dec 09 06:29:59 2007 UTC
|
||||
+ Sat Oct 25 20:59:59 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 02:30:00'::timestamp AT TIME ZONE 'America/Caracas';
|
||||
+SELECT '2014-10-26 01:00:00'::timestamp AT TIME ZONE 'Europe/Moscow';
|
||||
timezone
|
||||
------------------------------
|
||||
- Sun Dec 09 07:00:00 2007 UTC
|
||||
+ Sat Oct 25 22:00:00 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 02:30:01'::timestamp AT TIME ZONE 'America/Caracas';
|
||||
+SELECT '2014-10-26 01:00:01'::timestamp AT TIME ZONE 'Europe/Moscow';
|
||||
timezone
|
||||
------------------------------
|
||||
- Sun Dec 09 07:00:01 2007 UTC
|
||||
+ Sat Oct 25 22:00:01 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 02:59:59'::timestamp AT TIME ZONE 'America/Caracas';
|
||||
+SELECT '2014-10-26 02:00:00'::timestamp AT TIME ZONE 'Europe/Moscow';
|
||||
timezone
|
||||
------------------------------
|
||||
- Sun Dec 09 07:29:59 2007 UTC
|
||||
+ Sat Oct 25 23:00:00 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 03:00:00'::timestamp AT TIME ZONE 'America/Caracas';
|
||||
+SELECT '2014-10-26 00:00:00'::timestamp AT TIME ZONE 'MSK';
|
||||
timezone
|
||||
------------------------------
|
||||
- Sun Dec 09 07:30:00 2007 UTC
|
||||
+ Sat Oct 25 20:00:00 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 03:00:01'::timestamp AT TIME ZONE 'America/Caracas';
|
||||
+SELECT '2014-10-26 00:59:59'::timestamp AT TIME ZONE 'MSK';
|
||||
timezone
|
||||
------------------------------
|
||||
- Sun Dec 09 07:30:01 2007 UTC
|
||||
+ Sat Oct 25 20:59:59 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 04:00:00'::timestamp AT TIME ZONE 'America/Caracas';
|
||||
+SELECT '2014-10-26 01:00:00'::timestamp AT TIME ZONE 'MSK';
|
||||
timezone
|
||||
------------------------------
|
||||
- Sun Dec 09 08:30:00 2007 UTC
|
||||
+ Sat Oct 25 22:00:00 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 02:00:00'::timestamp AT TIME ZONE 'VET';
|
||||
+SELECT '2014-10-26 01:00:01'::timestamp AT TIME ZONE 'MSK';
|
||||
timezone
|
||||
------------------------------
|
||||
- Sun Dec 09 06:00:00 2007 UTC
|
||||
+ Sat Oct 25 22:00:01 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 02:29:59'::timestamp AT TIME ZONE 'VET';
|
||||
+SELECT '2014-10-26 02:00:00'::timestamp AT TIME ZONE 'MSK';
|
||||
timezone
|
||||
------------------------------
|
||||
- Sun Dec 09 06:29:59 2007 UTC
|
||||
+ Sat Oct 25 23:00:00 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 02:30:00'::timestamp AT TIME ZONE 'VET';
|
||||
- timezone
|
||||
-------------------------------
|
||||
- Sun Dec 09 07:00:00 2007 UTC
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 02:30:01'::timestamp AT TIME ZONE 'VET';
|
||||
- timezone
|
||||
-------------------------------
|
||||
- Sun Dec 09 07:00:01 2007 UTC
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 02:59:59'::timestamp AT TIME ZONE 'VET';
|
||||
- timezone
|
||||
-------------------------------
|
||||
- Sun Dec 09 07:29:59 2007 UTC
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 03:00:00'::timestamp AT TIME ZONE 'VET';
|
||||
- timezone
|
||||
-------------------------------
|
||||
- Sun Dec 09 07:30:00 2007 UTC
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 03:00:01'::timestamp AT TIME ZONE 'VET';
|
||||
- timezone
|
||||
-------------------------------
|
||||
- Sun Dec 09 07:30:01 2007 UTC
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 04:00:00'::timestamp AT TIME ZONE 'VET';
|
||||
- timezone
|
||||
-------------------------------
|
||||
- Sun Dec 09 08:30:00 2007 UTC
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT make_timestamptz(2007, 12, 9, 2, 0, 0, 'VET');
|
||||
+SELECT make_timestamptz(2014, 10, 26, 0, 0, 0, 'MSK');
|
||||
make_timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 06:00:00 2007 UTC
|
||||
+ Sat Oct 25 20:00:00 2014 UTC
|
||||
(1 row)
|
||||
|
||||
-SELECT make_timestamptz(2007, 12, 9, 3, 0, 0, 'VET');
|
||||
+SELECT make_timestamptz(2014, 10, 26, 1, 0, 0, 'MSK');
|
||||
make_timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 07:30:00 2007 UTC
|
||||
+ Sat Oct 25 22:00:00 2014 UTC
|
||||
(1 row)
|
||||
|
||||
SELECT to_timestamp( 0); -- 1970-01-01 00:00:00+00
|
||||
@@ -2391,47 +2318,34 @@ SELECT '2011-03-27 00:00:00 UTC'::timestamptz;
|
||||
Sun Mar 27 04:00:00 2011 MSK
|
||||
(1 row)
|
||||
|
||||
-SET TimeZone to 'America/Caracas';
|
||||
-SELECT '2007-12-09 06:00:00 UTC'::timestamptz;
|
||||
+SELECT '2014-10-25 21:00:00 UTC'::timestamptz;
|
||||
timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 02:00:00 2007 VET
|
||||
+ Sun Oct 26 01:00:00 2014 MSK
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 06:30:00 UTC'::timestamptz;
|
||||
+SELECT '2014-10-25 21:59:59 UTC'::timestamptz;
|
||||
timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 02:30:00 2007 VET
|
||||
+ Sun Oct 26 01:59:59 2014 MSK
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 06:59:59 UTC'::timestamptz;
|
||||
+SELECT '2014-10-25 22:00:00 UTC'::timestamptz;
|
||||
timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 02:59:59 2007 VET
|
||||
+ Sun Oct 26 01:00:00 2014 MSK
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 07:00:00 UTC'::timestamptz;
|
||||
+SELECT '2014-10-25 22:00:01 UTC'::timestamptz;
|
||||
timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 02:30:00 2007 VET
|
||||
+ Sun Oct 26 01:00:01 2014 MSK
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 07:00:01 UTC'::timestamptz;
|
||||
+SELECT '2014-10-25 23:00:00 UTC'::timestamptz;
|
||||
timestamptz
|
||||
------------------------------
|
||||
- Sun Dec 09 02:30:01 2007 VET
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 07:29:59 UTC'::timestamptz;
|
||||
- timestamptz
|
||||
-------------------------------
|
||||
- Sun Dec 09 02:59:59 2007 VET
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 07:30:00 UTC'::timestamptz;
|
||||
- timestamptz
|
||||
-------------------------------
|
||||
- Sun Dec 09 03:00:00 2007 VET
|
||||
+ Sun Oct 26 02:00:00 2014 MSK
|
||||
(1 row)
|
||||
|
||||
RESET TimeZone;
|
||||
@@ -2477,46 +2391,34 @@ SELECT '2011-03-27 00:00:00 UTC'::timestamptz AT TIME ZONE 'Europe/Moscow';
|
||||
Sun Mar 27 04:00:00 2011
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 06:00:00 UTC'::timestamptz AT TIME ZONE 'America/Caracas';
|
||||
+SELECT '2014-10-25 21:00:00 UTC'::timestamptz AT TIME ZONE 'Europe/Moscow';
|
||||
timezone
|
||||
--------------------------
|
||||
- Sun Dec 09 02:00:00 2007
|
||||
+ Sun Oct 26 01:00:00 2014
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 06:30:00 UTC'::timestamptz AT TIME ZONE 'America/Caracas';
|
||||
+SELECT '2014-10-25 21:59:59 UTC'::timestamptz AT TIME ZONE 'Europe/Moscow';
|
||||
timezone
|
||||
--------------------------
|
||||
- Sun Dec 09 02:30:00 2007
|
||||
+ Sun Oct 26 01:59:59 2014
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 06:59:59 UTC'::timestamptz AT TIME ZONE 'America/Caracas';
|
||||
+SELECT '2014-10-25 22:00:00 UTC'::timestamptz AT TIME ZONE 'Europe/Moscow';
|
||||
timezone
|
||||
--------------------------
|
||||
- Sun Dec 09 02:59:59 2007
|
||||
+ Sun Oct 26 01:00:00 2014
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 07:00:00 UTC'::timestamptz AT TIME ZONE 'America/Caracas';
|
||||
+SELECT '2014-10-25 22:00:01 UTC'::timestamptz AT TIME ZONE 'Europe/Moscow';
|
||||
timezone
|
||||
--------------------------
|
||||
- Sun Dec 09 02:30:00 2007
|
||||
+ Sun Oct 26 01:00:01 2014
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 07:00:01 UTC'::timestamptz AT TIME ZONE 'America/Caracas';
|
||||
+SELECT '2014-10-25 23:00:00 UTC'::timestamptz AT TIME ZONE 'Europe/Moscow';
|
||||
timezone
|
||||
--------------------------
|
||||
- Sun Dec 09 02:30:01 2007
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 07:29:59 UTC'::timestamptz AT TIME ZONE 'America/Caracas';
|
||||
- timezone
|
||||
---------------------------
|
||||
- Sun Dec 09 02:59:59 2007
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 07:30:00 UTC'::timestamptz AT TIME ZONE 'America/Caracas';
|
||||
- timezone
|
||||
---------------------------
|
||||
- Sun Dec 09 03:00:00 2007
|
||||
+ Sun Oct 26 02:00:00 2014
|
||||
(1 row)
|
||||
|
||||
SELECT '2011-03-26 21:00:00 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
@@ -2561,46 +2463,34 @@ SELECT '2011-03-27 00:00:00 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
Sun Mar 27 04:00:00 2011
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 06:00:00 UTC'::timestamptz AT TIME ZONE 'VET';
|
||||
+SELECT '2014-10-25 21:00:00 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
timezone
|
||||
--------------------------
|
||||
- Sun Dec 09 02:00:00 2007
|
||||
+ Sun Oct 26 01:00:00 2014
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 06:30:00 UTC'::timestamptz AT TIME ZONE 'VET';
|
||||
+SELECT '2014-10-25 21:59:59 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
timezone
|
||||
--------------------------
|
||||
- Sun Dec 09 02:30:00 2007
|
||||
+ Sun Oct 26 01:59:59 2014
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 06:59:59 UTC'::timestamptz AT TIME ZONE 'VET';
|
||||
+SELECT '2014-10-25 22:00:00 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
timezone
|
||||
--------------------------
|
||||
- Sun Dec 09 02:59:59 2007
|
||||
+ Sun Oct 26 01:00:00 2014
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 07:00:00 UTC'::timestamptz AT TIME ZONE 'VET';
|
||||
+SELECT '2014-10-25 22:00:01 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
timezone
|
||||
--------------------------
|
||||
- Sun Dec 09 02:30:00 2007
|
||||
+ Sun Oct 26 01:00:01 2014
|
||||
(1 row)
|
||||
|
||||
-SELECT '2007-12-09 07:00:01 UTC'::timestamptz AT TIME ZONE 'VET';
|
||||
+SELECT '2014-10-25 23:00:00 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
timezone
|
||||
--------------------------
|
||||
- Sun Dec 09 02:30:01 2007
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 07:29:59 UTC'::timestamptz AT TIME ZONE 'VET';
|
||||
- timezone
|
||||
---------------------------
|
||||
- Sun Dec 09 02:59:59 2007
|
||||
-(1 row)
|
||||
-
|
||||
-SELECT '2007-12-09 07:30:00 UTC'::timestamptz AT TIME ZONE 'VET';
|
||||
- timezone
|
||||
---------------------------
|
||||
- Sun Dec 09 03:00:00 2007
|
||||
+ Sun Oct 26 02:00:00 2014
|
||||
(1 row)
|
||||
|
||||
--
|
||||
diff --git a/src/test/regress/sql/timestamptz.sql b/src/test/regress/sql/timestamptz.sql
|
||||
index ab86622..4e37071 100644
|
||||
--- a/src/test/regress/sql/timestamptz.sql
|
||||
+++ b/src/test/regress/sql/timestamptz.sql
|
||||
@@ -280,7 +280,7 @@ SELECT * FROM TIMESTAMPTZ_TST ORDER BY a;
|
||||
DROP TABLE TIMESTAMPTZ_TST;
|
||||
|
||||
-- test timestamptz constructors
|
||||
-set TimeZone to 'America/Santiago';
|
||||
+set TimeZone to 'America/New_York';
|
||||
|
||||
-- numeric timezone
|
||||
SELECT make_timestamptz(1973, 07, 15, 08, 15, 55.33);
|
||||
@@ -309,8 +309,8 @@ SELECT make_timestamptz(1881, 12, 10, 0, 0, 0, 'Europe/Paris') AT TIME ZONE 'UTC
|
||||
SELECT make_timestamptz(1910, 12, 24, 0, 0, 0, 'Nehwon/Lankhmar');
|
||||
|
||||
-- abbreviations
|
||||
-SELECT make_timestamptz(2008, 12, 10, 10, 10, 10, 'CLST');
|
||||
-SELECT make_timestamptz(2008, 12, 10, 10, 10, 10, 'CLT');
|
||||
+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');
|
||||
|
||||
RESET TimeZone;
|
||||
@@ -318,8 +318,7 @@ RESET TimeZone;
|
||||
--
|
||||
-- Test behavior with a dynamic (time-varying) timezone abbreviation.
|
||||
-- These tests rely on the knowledge that MSK (Europe/Moscow standard time)
|
||||
--- moved forwards in Mar 2011 and that VET (America/Caracas standard time)
|
||||
--- moved backwards in Dec 2007.
|
||||
+-- moved forwards in Mar 2011 and backwards again in Oct 2014.
|
||||
--
|
||||
|
||||
SET TimeZone to 'UTC';
|
||||
@@ -344,23 +343,17 @@ SELECT '2011-03-27 03:00:00 MSK'::timestamptz;
|
||||
SELECT '2011-03-27 03:00:01 MSK'::timestamptz;
|
||||
SELECT '2011-03-27 04:00:00 MSK'::timestamptz;
|
||||
|
||||
-SELECT '2007-12-09 02:00:00 America/Caracas'::timestamptz;
|
||||
-SELECT '2007-12-09 02:29:59 America/Caracas'::timestamptz;
|
||||
-SELECT '2007-12-09 02:30:00 America/Caracas'::timestamptz;
|
||||
-SELECT '2007-12-09 02:30:01 America/Caracas'::timestamptz;
|
||||
-SELECT '2007-12-09 02:59:59 America/Caracas'::timestamptz;
|
||||
-SELECT '2007-12-09 03:00:00 America/Caracas'::timestamptz;
|
||||
-SELECT '2007-12-09 03:00:01 America/Caracas'::timestamptz;
|
||||
-SELECT '2007-12-09 04:00:00 America/Caracas'::timestamptz;
|
||||
+SELECT '2014-10-26 00:00:00 Europe/Moscow'::timestamptz;
|
||||
+SELECT '2014-10-26 00:59:59 Europe/Moscow'::timestamptz;
|
||||
+SELECT '2014-10-26 01:00:00 Europe/Moscow'::timestamptz;
|
||||
+SELECT '2014-10-26 01:00:01 Europe/Moscow'::timestamptz;
|
||||
+SELECT '2014-10-26 02:00:00 Europe/Moscow'::timestamptz;
|
||||
|
||||
-SELECT '2007-12-09 02:00:00 VET'::timestamptz;
|
||||
-SELECT '2007-12-09 02:29:59 VET'::timestamptz;
|
||||
-SELECT '2007-12-09 02:30:00 VET'::timestamptz;
|
||||
-SELECT '2007-12-09 02:30:01 VET'::timestamptz;
|
||||
-SELECT '2007-12-09 02:59:59 VET'::timestamptz;
|
||||
-SELECT '2007-12-09 03:00:00 VET'::timestamptz;
|
||||
-SELECT '2007-12-09 03:00:01 VET'::timestamptz;
|
||||
-SELECT '2007-12-09 04:00:00 VET'::timestamptz;
|
||||
+SELECT '2014-10-26 00:00:00 MSK'::timestamptz;
|
||||
+SELECT '2014-10-26 00:59:59 MSK'::timestamptz;
|
||||
+SELECT '2014-10-26 01:00:00 MSK'::timestamptz;
|
||||
+SELECT '2014-10-26 01:00:01 MSK'::timestamptz;
|
||||
+SELECT '2014-10-26 02:00:00 MSK'::timestamptz;
|
||||
|
||||
SELECT '2011-03-27 00:00:00'::timestamp AT TIME ZONE 'Europe/Moscow';
|
||||
SELECT '2011-03-27 01:00:00'::timestamp AT TIME ZONE 'Europe/Moscow';
|
||||
@@ -382,26 +375,20 @@ SELECT '2011-03-27 03:00:00'::timestamp AT TIME ZONE 'MSK';
|
||||
SELECT '2011-03-27 03:00:01'::timestamp AT TIME ZONE 'MSK';
|
||||
SELECT '2011-03-27 04:00:00'::timestamp AT TIME ZONE 'MSK';
|
||||
|
||||
-SELECT '2007-12-09 02:00:00'::timestamp AT TIME ZONE 'America/Caracas';
|
||||
-SELECT '2007-12-09 02:29:59'::timestamp AT TIME ZONE 'America/Caracas';
|
||||
-SELECT '2007-12-09 02:30:00'::timestamp AT TIME ZONE 'America/Caracas';
|
||||
-SELECT '2007-12-09 02:30:01'::timestamp AT TIME ZONE 'America/Caracas';
|
||||
-SELECT '2007-12-09 02:59:59'::timestamp AT TIME ZONE 'America/Caracas';
|
||||
-SELECT '2007-12-09 03:00:00'::timestamp AT TIME ZONE 'America/Caracas';
|
||||
-SELECT '2007-12-09 03:00:01'::timestamp AT TIME ZONE 'America/Caracas';
|
||||
-SELECT '2007-12-09 04:00:00'::timestamp AT TIME ZONE 'America/Caracas';
|
||||
+SELECT '2014-10-26 00:00:00'::timestamp AT TIME ZONE 'Europe/Moscow';
|
||||
+SELECT '2014-10-26 00:59:59'::timestamp AT TIME ZONE 'Europe/Moscow';
|
||||
+SELECT '2014-10-26 01:00:00'::timestamp AT TIME ZONE 'Europe/Moscow';
|
||||
+SELECT '2014-10-26 01:00:01'::timestamp AT TIME ZONE 'Europe/Moscow';
|
||||
+SELECT '2014-10-26 02:00:00'::timestamp AT TIME ZONE 'Europe/Moscow';
|
||||
|
||||
-SELECT '2007-12-09 02:00:00'::timestamp AT TIME ZONE 'VET';
|
||||
-SELECT '2007-12-09 02:29:59'::timestamp AT TIME ZONE 'VET';
|
||||
-SELECT '2007-12-09 02:30:00'::timestamp AT TIME ZONE 'VET';
|
||||
-SELECT '2007-12-09 02:30:01'::timestamp AT TIME ZONE 'VET';
|
||||
-SELECT '2007-12-09 02:59:59'::timestamp AT TIME ZONE 'VET';
|
||||
-SELECT '2007-12-09 03:00:00'::timestamp AT TIME ZONE 'VET';
|
||||
-SELECT '2007-12-09 03:00:01'::timestamp AT TIME ZONE 'VET';
|
||||
-SELECT '2007-12-09 04:00:00'::timestamp AT TIME ZONE 'VET';
|
||||
+SELECT '2014-10-26 00:00:00'::timestamp AT TIME ZONE 'MSK';
|
||||
+SELECT '2014-10-26 00:59:59'::timestamp AT TIME ZONE 'MSK';
|
||||
+SELECT '2014-10-26 01:00:00'::timestamp AT TIME ZONE 'MSK';
|
||||
+SELECT '2014-10-26 01:00:01'::timestamp AT TIME ZONE 'MSK';
|
||||
+SELECT '2014-10-26 02:00:00'::timestamp AT TIME ZONE 'MSK';
|
||||
|
||||
-SELECT make_timestamptz(2007, 12, 9, 2, 0, 0, 'VET');
|
||||
-SELECT make_timestamptz(2007, 12, 9, 3, 0, 0, 'VET');
|
||||
+SELECT make_timestamptz(2014, 10, 26, 0, 0, 0, 'MSK');
|
||||
+SELECT make_timestamptz(2014, 10, 26, 1, 0, 0, 'MSK');
|
||||
|
||||
SELECT to_timestamp( 0); -- 1970-01-01 00:00:00+00
|
||||
SELECT to_timestamp( 946684800); -- 2000-01-01 00:00:00+00
|
||||
@@ -425,15 +412,11 @@ SELECT '2011-03-26 23:00:01 UTC'::timestamptz;
|
||||
SELECT '2011-03-26 23:59:59 UTC'::timestamptz;
|
||||
SELECT '2011-03-27 00:00:00 UTC'::timestamptz;
|
||||
|
||||
-SET TimeZone to 'America/Caracas';
|
||||
-
|
||||
-SELECT '2007-12-09 06:00:00 UTC'::timestamptz;
|
||||
-SELECT '2007-12-09 06:30:00 UTC'::timestamptz;
|
||||
-SELECT '2007-12-09 06:59:59 UTC'::timestamptz;
|
||||
-SELECT '2007-12-09 07:00:00 UTC'::timestamptz;
|
||||
-SELECT '2007-12-09 07:00:01 UTC'::timestamptz;
|
||||
-SELECT '2007-12-09 07:29:59 UTC'::timestamptz;
|
||||
-SELECT '2007-12-09 07:30:00 UTC'::timestamptz;
|
||||
+SELECT '2014-10-25 21:00:00 UTC'::timestamptz;
|
||||
+SELECT '2014-10-25 21:59:59 UTC'::timestamptz;
|
||||
+SELECT '2014-10-25 22:00:00 UTC'::timestamptz;
|
||||
+SELECT '2014-10-25 22:00:01 UTC'::timestamptz;
|
||||
+SELECT '2014-10-25 23:00:00 UTC'::timestamptz;
|
||||
|
||||
RESET TimeZone;
|
||||
|
||||
@@ -445,13 +428,11 @@ SELECT '2011-03-26 23:00:01 UTC'::timestamptz AT TIME ZONE 'Europe/Moscow';
|
||||
SELECT '2011-03-26 23:59:59 UTC'::timestamptz AT TIME ZONE 'Europe/Moscow';
|
||||
SELECT '2011-03-27 00:00:00 UTC'::timestamptz AT TIME ZONE 'Europe/Moscow';
|
||||
|
||||
-SELECT '2007-12-09 06:00:00 UTC'::timestamptz AT TIME ZONE 'America/Caracas';
|
||||
-SELECT '2007-12-09 06:30:00 UTC'::timestamptz AT TIME ZONE 'America/Caracas';
|
||||
-SELECT '2007-12-09 06:59:59 UTC'::timestamptz AT TIME ZONE 'America/Caracas';
|
||||
-SELECT '2007-12-09 07:00:00 UTC'::timestamptz AT TIME ZONE 'America/Caracas';
|
||||
-SELECT '2007-12-09 07:00:01 UTC'::timestamptz AT TIME ZONE 'America/Caracas';
|
||||
-SELECT '2007-12-09 07:29:59 UTC'::timestamptz AT TIME ZONE 'America/Caracas';
|
||||
-SELECT '2007-12-09 07:30:00 UTC'::timestamptz AT TIME ZONE 'America/Caracas';
|
||||
+SELECT '2014-10-25 21:00:00 UTC'::timestamptz AT TIME ZONE 'Europe/Moscow';
|
||||
+SELECT '2014-10-25 21:59:59 UTC'::timestamptz AT TIME ZONE 'Europe/Moscow';
|
||||
+SELECT '2014-10-25 22:00:00 UTC'::timestamptz AT TIME ZONE 'Europe/Moscow';
|
||||
+SELECT '2014-10-25 22:00:01 UTC'::timestamptz AT TIME ZONE 'Europe/Moscow';
|
||||
+SELECT '2014-10-25 23:00:00 UTC'::timestamptz AT TIME ZONE 'Europe/Moscow';
|
||||
|
||||
SELECT '2011-03-26 21:00:00 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
SELECT '2011-03-26 22:00:00 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
@@ -461,13 +442,11 @@ SELECT '2011-03-26 23:00:01 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
SELECT '2011-03-26 23:59:59 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
SELECT '2011-03-27 00:00:00 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
|
||||
-SELECT '2007-12-09 06:00:00 UTC'::timestamptz AT TIME ZONE 'VET';
|
||||
-SELECT '2007-12-09 06:30:00 UTC'::timestamptz AT TIME ZONE 'VET';
|
||||
-SELECT '2007-12-09 06:59:59 UTC'::timestamptz AT TIME ZONE 'VET';
|
||||
-SELECT '2007-12-09 07:00:00 UTC'::timestamptz AT TIME ZONE 'VET';
|
||||
-SELECT '2007-12-09 07:00:01 UTC'::timestamptz AT TIME ZONE 'VET';
|
||||
-SELECT '2007-12-09 07:29:59 UTC'::timestamptz AT TIME ZONE 'VET';
|
||||
-SELECT '2007-12-09 07:30:00 UTC'::timestamptz AT TIME ZONE 'VET';
|
||||
+SELECT '2014-10-25 21:00:00 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
+SELECT '2014-10-25 21:59:59 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
+SELECT '2014-10-25 22:00:00 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
+SELECT '2014-10-25 22:00:01 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
+SELECT '2014-10-25 23:00:00 UTC'::timestamptz AT TIME ZONE 'MSK';
|
||||
|
||||
--
|
||||
-- Test that the pg_timezone_names and pg_timezone_abbrevs views are
|
||||
--
|
||||
2.9.3
|
||||
|
1065
postgresql.spec
1065
postgresql.spec
File diff suppressed because it is too large
Load Diff
12
sources
12
sources
@ -1,6 +1,6 @@
|
||||
SHA512 (postgresql-9.5.6.tar.bz2) = fabaeb2d4841ca2f2fd7b0f9c90368debc91f569ade5ad4dc9250c27d790a97ed58a670319f0fe59404fce7e986e8dafb1408edbe6fc149531bdb230b1b913fe
|
||||
SHA512 (postgresql-9.5.6.tar.bz2.sha256) = 6c8581fe42bb74ec095e244dc84c55e0c3e8be9be6402d98d3794218e94543475025ee5624c566753bcfef498eccdb5947b671b12083d1194af3e6833df46f2f
|
||||
SHA512 (postgresql-9.6.2.tar.bz2) = 7c9d61a591408e29d7dc70d6b28ecdf06edf7f8fbf4e014e60a1e4f841fd5734c74a820094f6153e10ef633d48ea73f2a85194f6d2cd519a8f7087a261e9e02b
|
||||
SHA512 (postgresql-9.6.2.tar.bz2.sha256) = 52941dbc83235f4dc96797a91d7bf26772139cc33dcaca4fdbc6a7cbe1ec0a0ccdbe4048a146238c9d3614a229518e6b58862c031167ef58bcd278217014841a
|
||||
SHA512 (postgresql-setup-5.0.tar.gz) = 0cda4242c3fd856d120e4533e34358252ed1d9dbced1435c4997fbfa600e5132462ca6cc2782ed3959a09374317424463196c24ebe5b1e10e7ac80e09b6ebfbf
|
||||
SHA512 (postgresql-9.6.2-US.pdf) = 913e2166bd9013a2640c255a523d475eca98ecd7986cc4451ad60b839f9aa0c556761908a0e98dcaf84cd0afdf011e05b18f9528929dfe7a621c474f07f36cd1
|
||||
SHA512 (postgresql-12.2.tar.bz2) = 0e0ce8e21856e8f43e58b840c10c4e3ffae6d5207e0d778e9176e36f8e20e34633cbb06f0030a7c963c3491bb7e941456d91b55444c561cfc6f283fba76f33ee
|
||||
SHA512 (postgresql-12.2.tar.bz2.sha256) = 8f94163228bb7d854d6fe4924a8a2ded00f90af662dd4a7c39b415be0826d9395e55f9b8e3b472baf7c19550e7c35198a650604a28756ad85d096bcfbaa5d1fd
|
||||
SHA512 (postgresql-12.2-US.pdf) = f086fead2c094e0f1148bcadaf13e240a84b53be289aa0a323295f65879699e81041b4bbc6cc3ce2744aac3fcb15083fa1cab583cd86fdc8ef626499e3cb3e71
|
||||
SHA512 (postgresql-11.7.tar.bz2) = 32c7ace228f9895241ce0d925fbfc60c0cd39f4cd35368fb10dc7db046151ffd59a9895b4c30a529627f0103051e84b4992ed60312cccd292489f3037076ca1e
|
||||
SHA512 (postgresql-11.7.tar.bz2.sha256) = 1c8bc319da6bc49000f14e4636f4410b3eb52ab41b0698e7f3ee945efe8e93b6f1758e3f60d8658b0ea6836ea0f271a61031554a10e64c61d2c670e97c63812c
|
||||
SHA512 (postgresql-setup-8.4.tar.gz) = eb73767d5c676481598aeb545e15027a29a438aa29480ad414f6af31c9df61138a51f5425999b4b35e776a3dbbb28c887790ea9771abc3328158dd1d34b1dce1
|
||||
|
16
tests/tests.yml
Normal file
16
tests/tests.yml
Normal file
@ -0,0 +1,16 @@
|
||||
# This package uses external repositories for maintaining CI test cases.
|
||||
# Please don't edit this file if possible.
|
||||
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-beakerlib
|
||||
repositories:
|
||||
- repo: https://src.fedoraproject.org/tests/postgresql.git
|
||||
dest: postgresql
|
||||
# TODO: minimize: https://pagure.io/standard-test-roles/issue/294
|
||||
fmf_filter: "tier: 1"
|
||||
# TODO: minimize: https://pagure.io/standard-test-roles/issue/294
|
||||
tags:
|
||||
- classic
|
||||
- container
|
||||
- atomic
|
Loading…
Reference in New Issue
Block a user