Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iGscA-0006Ox-Fn for pgsql-hackers@arkaria.postgresql.org; Sat, 05 Oct 2019 22:33:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iGsc8-0000Gi-Gk for pgsql-hackers@arkaria.postgresql.org; Sat, 05 Oct 2019 22:33:24 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iGsc8-0000GR-4y for pgsql-hackers@lists.postgresql.org; Sat, 05 Oct 2019 22:33:24 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iGsc1-0002Hf-5J for pgsql-hackers@lists.postgresql.org; Sat, 05 Oct 2019 22:33:22 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x95MXDY4023097; Sat, 5 Oct 2019 18:33:13 -0400 From: Tom Lane To: Andrew Dunstan cc: pgsql-hackers@lists.postgresql.org Subject: Re: New "-b slim" option in 2019b zic: should we turn that on? In-reply-to: References: <24998.1563403327@sss.pgh.pa.us> Comments: In-reply-to Andrew Dunstan message dated "Sat, 05 Oct 2019 17:43:49 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23095.1570314793.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 05 Oct 2019 18:33:13 -0400 Message-ID: <23096.1570314793@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andrew Dunstan writes: > I've just run into an issue with this (commit a1207910968). The makefile > now assumes that zic has this switch. But I was attempting to get around > an issue on msys2 by using its zic, (ZIC=3D/usr/bin/zic configure ...). = It > crashes on the floor because it doesn't know about "-b slim". I think we > probably need a way to turn this off. I had contemplated injecting the -b switch via # any custom options you might want to pass to zic while installing data = files -ZIC_OPTIONS =3D +ZIC_OPTIONS =3D -b slim which would allow overriding it by defining the ZIC_OPTIONS macro. Does that seem appropriate? I didn't do it because I worried about interference with existing uses of ZIC_OPTIONS ... but who knows whether there are any. BTW, building with old versions of zic is not guaranteed to work anyway. They do tend to wait a year or two before they start to use new zic features in the timezone data files, but they don't wait indefinitely. regards, tom lane