pgsql: Stabilize timetz test across DST transitions. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Stabilize timetz test across DST transitions.
Date
Msg-id E1kYDc4-0003AQ-LD@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Stabilize timetz test across DST transitions.

The timetz test cases I added in commit a9632830b were unintentionally
sensitive to whether or not DST is active in the PST8PDT time zone.
Thus, they'll start failing this coming weekend, as reported by
Bernhard M. Wiedemann in bug #16689.  Fortunately, DST-awareness is
not significant to the purpose of these test cases, so we can just
force them all to PDT (DST hours) to preserve stability of the
results.

Back-patch to v10, as the prior patch was.

Discussion: https://postgr.es/m/16689-57701daa23b377bf@postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4a071afbd056282746a5bc9362e87f579a56402d

Modified Files
--------------
src/test/regress/expected/timetz.out | 32 ++++++++++++++++----------------
src/test/regress/sql/timetz.sql      | 16 ++++++++--------
2 files changed, 24 insertions(+), 24 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Don't use custom OID symbols in pg_type.dat, either.
Next
From: Tom Lane
Date:
Subject: pgsql: Doc: clarify description for pg_constraint.convalidated.