]> granicus.if.org Git - postgresql/commit
Be more wary in choice of timezone names to test make_timestamptz with.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 13 May 2014 00:21:16 +0000 (20:21 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 13 May 2014 00:21:16 +0000 (20:21 -0400)
commit66b737cd9a72e10df4de1867ae7b675bc48d478c
treef32842ea9a321a60c04773b6ba6623231418f7a0
parent73011f35eca7f4a3973289d5813648abbc1074a0
Be more wary in choice of timezone names to test make_timestamptz with.

America/Metlakatla hasn't been in the IANA database all that long, so
some installations might not have it.  It does seem worthwhile to test
with a fractional-minute GMT offset, but we can get that from almost
any pre-1900 date; I chose Europe/Paris, whose LMT offset from Greenwich
should be pretty darn well established.

Also, assuming that Mars/Mons_Olympus will never be in the IANA database
seems less than future-proof, so let's use a more fanciful location for
the bad-zone-name check.

Per complaint from Christoph Berg.
src/test/regress/expected/timestamptz.out
src/test/regress/sql/timestamptz.sql