pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael.paquier@gmail.com>
To: Christian Ullrich <chris@chrullrich.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Subject: Re: [COMMITTERS] pgsql: Sync tzload() and tzparse() APIs with IANA release tzcode2016c.
Date: Tue, 29 Mar 2016 14:07:38 +0900
Message-ID: <CAB7nPqTMgh28W96Xd_dLFzzbufx1XmDOndMR2hDU7aBJN1wygQ@mail.gmail.com> (raw)
In-Reply-To: <56FA0634.9020007@chrullrich.net>
References: <E1akeZU-0003B5-HB@gemulon.postgresql.org>
	<CAB7nPqQHd1manQ2Yn3P6L82KNMR_iGC2v5AhVgygiCOc2XpbKQ@mail.gmail.com>
	<32628.1459221714@sss.pgh.pa.us>
	<56FA0634.9020007@chrullrich.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On Tue, Mar 29, 2016 at 1:36 PM, Christian Ullrich <chris@chrullrich.net> wrote:
> * Tom Lane wrote:
>
>> Michael Paquier <michael.paquier@gmail.com> writes:
>>>
>>> Buildfarm-not-being-happy-status: woodloose, mastodon, thrips, jacana.
>>>
>>> http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=woodlouse&dt=2016-03-29%2000%3A42%3A08
>>> The origin of the problem is that, which prevents all the subsequent
>>> queries to fail:
>>>    SET TimeZone to 'UTC';
>>> + ERROR:  invalid value for parameter "TimeZone": "UTC"
>>
>>
>> Yeah.  I've been staring at that for awhile, but it's not clear where
>> the problem is.  There are a bunch of other SET TIME ZONE commands in
>> the regression tests, how is it that this trivial case fails on the
>> Windows critters?
>
>
> I think this is the reason, from the check log on woodlouse (jacana says the
> same in make style):
>
> Generating timezone files...release\zic\zic: Can't create
> C:/buildfarm/buildenv/HEAD/pgsql.build/tmp_install/share/timezone/US/Pacific-New:
> No such file or directory

Yes, I have bumped into that when running the build. And I think that
the error is in zic.c, in dolink() when performing a Link operation
because this parent directory is not created because of that:
        if (link_errno == ENOENT || link_errno == ENOTSUP)
        {
            if (!mkdirs(toname))
                exit(EXIT_FAILURE);
            retry_if_link_supported = true;
        }
I think that we'd want here to check as well on EISDIR or EACCES...
Haven't checked yet though. I'll update this thread with hopefully a
patch.
-- 
Michael


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (13+ messages)  latest in thread

Message-ID: <CAB7nPqTMgh28W96Xd_dLFzzbufx1XmDOndMR2hDU7aBJN1wygQ@mail.gmail.com>
Permalink:  ../CAB7nPqTMgh28W96Xd_dLFzzbufx1XmDOndMR2hDU7aBJN1wygQ@mail.gmail.com/
Also on:    postgresql.org/message-id/CAB7nPqTMgh28W96Xd_dLFzzbufx1XmDOndMR2hDU7aBJN1wygQ@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael.paquier@gmail.com, chris@chrullrich.net, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Sync tzload() and tzparse() APIs with IANA release tzcode2016c.
  In-Reply-To: <CAB7nPqTMgh28W96Xd_dLFzzbufx1XmDOndMR2hDU7aBJN1wygQ@mail.gmail.com>
  References: <E1akeZU-0003B5-HB@gemulon.postgresql.org> <CAB7nPqQHd1manQ2Yn3P6L82KNMR_iGC2v5AhVgygiCOc2XpbKQ@mail.gmail.com> <32628.1459221714@sss.pgh.pa.us> <56FA0634.9020007@chrullrich.net> <CAB7nPqTMgh28W96Xd_dLFzzbufx1XmDOndMR2hDU7aBJN1wygQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox