Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akltt-0006S4-6E for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Mar 2016 05:09:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aklts-0005am-Mv for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Mar 2016 05:09:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aklsW-00046I-I1 for pgsql-hackers@postgresql.org; Tue, 29 Mar 2016 05:07:44 +0000 Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1aklsS-0000tY-KD for pgsql-hackers@postgresql.org; Tue, 29 Mar 2016 05:07:43 +0000 Received: by mail-oi0-x234.google.com with SMTP id r187so6926310oih.3 for ; Mon, 28 Mar 2016 22:07:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=F2Xv7gl1MBMTVSLWO72pE0QCHq2UX0vMu0fmkPN+NbI=; b=sGIGxxSaI1vWVp8IRkl8TYAzWNaM/teqYohQXTlrKPQ37znnrXJFRN2zmyDjVMoI11 TxAsPWpnmEgOTkxSAF7o10O4PpPVbOdpfhLhUUAB/9j882hSEQE8mA13GMVeaPGgxFBF gPpxNs2pe7EGaxleOBz4F0xBMalLXnb8nEAO7lIXB652Dm0y7yfIVmnELTqsNdJJKiMR VosBFy2WfVFH/2DhwQ3KASZDKJQI8FzvnIVnHIbDzqyo+08vo80jos8Jrdu16UHSskf8 znrhaPRGQ4SjgJEl/PjZ8C/JdvQgjUVwNaDW5hDFDErXaKWSVsulPDgpsrQhkgusWxHX oHbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=F2Xv7gl1MBMTVSLWO72pE0QCHq2UX0vMu0fmkPN+NbI=; b=Cr5+Y+vYJUFWpgwcoKFLnyiWQ0lpHmourhQ821btvfHPq1Yr5W+2J+7SGNQAZesFmN tcBQsP+7uwsCss/qgX0/Yl2h0YoAo/MPRpPmg2fN8YJQ7SoqFsTdpwZv0ycJ4fL6BrV0 doFtu9il+JxB5C4uwzZZY6wZLWyQTk7FdSSpKshuDPVv3N57UvKdtVxKQ5EK4MUl2nBY H+wVB+oX3YoYWtbqmyXhlzD13V8CaPs/S4oi3AuhjNQj2HTBo4tVIAjz+WgMg+dxY2vX tmO0pEHP3YJNbRuCkFshOYfIPHwdV/qnbEVNVpzR1IPxD6oLh9KKoeEz5decI2vWW7td EpiQ== X-Gm-Message-State: AD7BkJL/6i0l73h3LvZ2CHyb8il5wVXc91iGKp/9xKtxpFWbW8qjl+iE7kU4BoJb269mmCdQzfmHBqaio6xLPg== MIME-Version: 1.0 X-Received: by 10.157.9.40 with SMTP id 37mr100739otp.144.1459228058345; Mon, 28 Mar 2016 22:07:38 -0700 (PDT) Received: by 10.202.59.197 with HTTP; Mon, 28 Mar 2016 22:07:38 -0700 (PDT) In-Reply-To: <56FA0634.9020007@chrullrich.net> References: <32628.1459221714@sss.pgh.pa.us> <56FA0634.9020007@chrullrich.net> Date: Tue, 29 Mar 2016 14:07:38 +0900 Message-ID: Subject: Re: [COMMITTERS] pgsql: Sync tzload() and tzparse() APIs with IANA release tzcode2016c. From: Michael Paquier To: Christian Ullrich Cc: Tom Lane , PostgreSQL mailing lists Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Tue, Mar 29, 2016 at 1:36 PM, Christian Ullrich wrote: > * Tom Lane wrote: > >> Michael Paquier 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