Don't require bleeding-edge timezone data in timestamptz regression test.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 19 Nov 2014 02:36:46 +0000 (21:36 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 19 Nov 2014 02:36:46 +0000 (21:36 -0500)
commitf6fb7fb17d89e333c606ab46fe2ff07e3e3d8289
tree6cb675d2160d8f30eaed16c6a699282a827cd177
parent8824bae87b78036c41ba794d96a0e68859df5990
Don't require bleeding-edge timezone data in timestamptz regression test.

The regression test cases added in commits b2cbced9e et al depended in part
on the Russian timezone offset changes of Oct 2014.  While this is of no
particular concern for a default Postgres build, it was possible for a
build using --with-system-tzdata to fail the tests if the system tzdata
database wasn't au courant.  Bjorn Munch and Christoph Berg both complained
about this while packaging 9.4rc1, so we probably shouldn't insist on the
system tzdata being up-to-date.  Instead, make an equivalent test using a
zone change that occurred in Venezuela in 2007.  With this patch, the
regression tests should pass using any tzdata set from 2012 or later.
(I can't muster much sympathy for somebody using --with-system-tzdata
on a machine whose system tzdata is more than three years out-of-date.)
src/test/regress/expected/timestamptz.out
src/test/regress/sql/timestamptz.sql