Re: tzcode update

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: tzcode update
Дата
Msg-id 9354.1202763359@sss.pgh.pa.us
обсуждение исходный текст
Ответ на tzcode update  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Ответы Re: tzcode update  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Список pgsql-patches
"Heikki Linnakangas" <heikki@enterprisedb.com> writes:
> I was not able to find anything like release notes that would list the
> differences between tzcode2003e, which I believe is the version that we
> included back then, and the latest version tzcode2007k. So I just took a
> diff between those, and deduced from there what has changed.

Oh good, this has been on my to-do list for awhile ... but I'm happy
to let you do it ;-)

> I don't really know how to test this. It passes the regression tests,
> after the fixes to pg_dst_next_boundary, but I was expecting there to be
> some failures now that we support timezones for timestamps outside the
> 32-bit time_t range. Apparently our tests don't cover that?

Unless the 64-bit extension changed the semantics a lot more than I
think, any given compiled tzdata file covers only a finite range of
years.  The extension makes it *possible* for the data to extend outside
the time_t range, but you won't actually see a difference in behavior
unless (a) you do extend the range (what's zic's default now?) and
(b) you test a date falling within the extended range.  So I'm not
too surprised that there are no cases in the regression tests that
notice.  We should probably add some reaching out to 2100 or so.

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: "Heikki Linnakangas"
Дата:
Сообщение: tzcode update
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Proposed patch for 8.3 VACUUM FULL crash