[tz] Timezone change detection

Tom Lane tgl at sss.pgh.pa.us
Fri Sep 3 22:43:35 UTC 2021


Paul Eggert via tz <tz at iana.org> writes:
> On 9/3/21 9:53 AM, Edward Tomasz Napierała via tz wrote:
>> The use case is to make the applications handle
>> moving between timezones, or changing the default system timezone.

> Won't the change break applications like 'zdump' that call 'localtime' 
> several times and assume that all the 'localtime' calls return 
> consistent values for a single timezone?

I think the odds of this breaking stuff are significantly larger
than the odds of it doing useful stuff.  I find it particularly
frightening that the patch doesn't appear to allow the calling
application to have any say in the matter.

			regards, tom lane


More information about the tz mailing list