From: | Christian Ullrich <chris(at)chrullrich(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <michael(dot)paquier(at)gmail(dot)com> |
Cc: | <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [COMMITTERS] pgsql: Sync tzload() and tzparse() APIs with IANA release tzcode2016c. |
Date: | 2016-03-29 09:28:05 |
Message-ID: | 56FA4AA5.4030205@chrullrich.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
* Christian Ullrich wrote:
> * Tom Lane wrote:
>> Christian Ullrich <chris(at)chrullrich(dot)net> writes:
>>> zic aborts somewhere between writing Etc/UTC and UTC.
>>
>> Huh ... I would not have guessed that. Can you track down exactly
>> where it's failing?
>
> I'd love to, but with 656ee84 I cannot reproduce on my Windows 10
> system. I can try on the animals where it actually failed, but now that
> there's a fix, that won't be necessary, right?
Weird. vcregress check works, install fails. Perhaps the directories are
precreated for check?
Anyway, I think Michael's fix is wrong. The bug is that the Win32
version of link() (at the bottom of zic.c) does not set errno if its
attempt to copy the file fails, so what dolink() puts into link_errno is
bogus.
The additional mkdirs() call just papers over the actual bug; the
existing one in line 802 will do nicely once it actually runs.
Patch attached.
--
Christian
Attachment | Content-Type | Size |
---|---|---|
zic-link.patch | text/plain | 485 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-03-29 10:32:32 | Re: [COMMITTERS] pgsql: pgbench: Support double constants and functions. |
Previous Message | Christian Ullrich | 2016-03-29 07:03:09 | Re: [COMMITTERS] pgsql: Sync tzload() and tzparse() APIs with IANA release tzcode2016c. |
From | Date | Subject | |
---|---|---|---|
Next Message | John R Pierce | 2016-03-29 09:35:01 | Re: pg_largeobject |
Previous Message | Sridhar N Bamandlapally | 2016-03-29 09:13:45 | pg_largeobject |