Tom, Thanks!
Yes, I compile it by configure --with-system-tzdata, should I remove it?
What's more, because some other components dependency, I must use version 9.6.0.
I also have tried the 9.6.5 version, find the timestamptz test case is updated.
Best Regards!
Tao
At 2021-01-04 14:07:39, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
>yangtao <yangtaoyours@126.com> writes:
>> Recently, I compile the Postgresql 9.6.0 on Linux by myself. However, I meet one problem about the timestamptz.sql test case.
>> The expected timestamptz.out is different from the result of timestamptz.out for ime zone America/Caracas and
>> America/Santiago
>
>Hm, did you use configure --with-system-tzdata? If so, this is not
>terribly surprising; the 9.6.0 test cases rely on the behavior of the
>IANA timezone data as it stood at the time, and those zones changed
>since then.
>
>Is there a reason you're trying to build 9.6.0 rather than 9.6.latest,
>which includes a fix for this [1] as well as hundreds of
>far-more-significant bugs?
>
> regards, tom lane
>
>[1] https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=d8ec6b9c8c265c2f29b1c0e0e4205895baaa326d
>