Run regression tests with timezone America/Los_Angeles.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/set.sgml | modified | +2 −2 |
| doc/src/sgml/regress.sgml | modified | +3 −3 |
| src/test/regress/expected/date.out | modified | +5 −5 |
| src/test/regress/expected/horology.out | modified | +31 −26 |
| src/test/regress/expected/timestamptz.out | modified | +72 −65 |
| src/test/regress/pg_regress.c | modified | +1 −1 |
| src/test/regress/sql/horology.sql | modified | +2 −2 |
| src/test/regress/sql/timestamptz.sql | modified | +4 −1 |
Documentation touched
Discussion
- Regression tests fail with tzdata 2024b 11 messages · 2024-09-14 → 2024-09-18