Re: Regression tests fail with tzdata 2024b

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Wolfgang Walther <walther(at)technowledgy(dot)de>
Cc: Sven Klemm <sven(at)timescale(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Regression tests fail with tzdata 2024b
Date: 2024-09-17 14:15:25
Message-ID: 1462677.1726582525@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Wolfgang Walther <walther(at)technowledgy(dot)de> writes:
> The core regression tests need to be run with a timezone that tests
> special cases in the timezone handling code. But that might not be true
> for extensions - all they want could be a stable output across major and
> minor versions of postgres and versions of tzdata. It could be helpful
> to set pg_regress' timezone to UTC, for example?

I would not recommend that choice. It would mask simple errors such
as failing to apply the correct conversion between timestamptz and
timestamp values. Also, if you have test cases that are affected by
this issue at all, you probably have a need/desire to test things like
DST transitions.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2024-09-17 14:48:21 Re: A starter task
Previous Message Andrew Dunstan 2024-09-17 14:11:47 Re: jsonb_strip_nulls with arrays?