Re: New timezones used in regression tests - Mailing list pgsql-hackers

From Gavin Flower
Subject Re: New timezones used in regression tests
Date
Msg-id 53715805.9000302@archidevsys.co.nz
Whole thread Raw
In response to Re: New timezones used in regression tests  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 13/05/14 11:16, Tom Lane wrote:
> Christoph Berg <cb@df7cb.de> writes:
>> 84df54b22e8035addc7108abd9ff6995e8c49264 introduced timestamp
>> constructors. In the regression tests, various time zones are tested,
>> including America/Metlakatla. Now, if you configure using
>> --with-system-tzdata, you'll get an error if that zone isn't there.
>> Unfortunately, this is what I'm getting now when trying to build beta1
>> on Ubuntu 10.04 (lucid) with tzdata 2010i-1:
> I agree, that seems an entirely gratuitous choice of zone.  It does
> seem like a good idea to test a zone that has a nonintegral offset
> from GMT, but we can get that from almost anywhere as long as we're
> testing a pre-1900 date.  There's no need to use any zones that aren't
> long-established and unlikely to change.
>
> I'm quite unimpressed by the dependency on Mars/Mons_Olympus, too ... that
> might not fail *today*, but considering it's a real location, assuming it
> is not in the IANA database seems like a recipe for future failure.
> Maybe something like Nehwon/Lankhmar?  Or maybe we should not try to be
> cute but just test Foo/Bar.
>
>             regards, tom lane
>
>
You might like to consider the Chatham Islands, they are offset by 45 
minutes:
(GMT +12:45 / GMT +13:45)!

Cheers,
Gavin






pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: New timezones used in regression tests
Next
From: Haribabu Kommi
Date:
Subject: Re: Compression of full-page-writes