From b8ea0f675f35c3f0c2cf62175517ba0dacad4abd Mon Sep 17 00:00:00 2001
From: Tom Lane
Date: Sat, 14 Sep 2024 17:55:02 -0400
Subject: 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 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
(limited to 'doc/src')
diff --git a/doc/src/sgml/ref/set.sgml b/doc/src/sgml/ref/set.sgml
index 5459b295259..f0e6047e0b1 100644
--- a/doc/src/sgml/ref/set.sgml
+++ b/doc/src/sgml/ref/set.sgml
@@ -200,7 +200,7 @@ SELECT setseed(value);
- 'PST8PDT'
+ 'America/Los_Angeles'
The time zone for Berkeley, California.
@@ -298,7 +298,7 @@ SET datestyle TO postgres, dmy;
Set the time zone for Berkeley, California:
-SET TIME ZONE 'PST8PDT';
+SET TIME ZONE 'America/Los_Angeles';
diff --git a/doc/src/sgml/regress.sgml b/doc/src/sgml/regress.sgml
index d1042e02228..f4cef9e80f7 100644
--- a/doc/src/sgml/regress.sgml
+++ b/doc/src/sgml/regress.sgml
@@ -576,11 +576,11 @@ make check NO_LOCALE=1
Most of the date and time results are dependent on the time zone
environment. The reference files are generated for time zone
- PST8PDT (Berkeley, California), and there will be
+ America/Los_Angeles, and there will be
apparent failures if the tests are not run with that time zone setting.
The regression test driver sets environment variable
- PGTZ to PST8PDT, which normally
- ensures proper results.
+ PGTZ to America/Los_Angeles,
+ which normally ensures proper results.
--
cgit v1.2.3