Thread: pgsql: Stabilize timetz test across DST transitions.

pgsql: Stabilize timetz test across DST transitions.

From
Tom Lane
Date:
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
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c39f4e81dc21406d610d0340a9a2e1d34c3372d3

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