Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7QFh-00044Z-DH for pgsql-committers@arkaria.postgresql.org; Sun, 07 May 2017 17:45:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d7QFh-0002sX-0B for pgsql-committers@arkaria.postgresql.org; Sun, 07 May 2017 17:45:49 +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 1d7QFS-0002SJ-76 for pgsql-committers@postgresql.org; Sun, 07 May 2017 17:45:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d7QFO-0000uW-Dh for pgsql-committers@postgresql.org; Sun, 07 May 2017 17:45:33 +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 v47HjRHd009583; Sun, 7 May 2017 13:45:27 -0400 From: Tom Lane To: Amit Kapila cc: David Rowley , pgsql-committers Subject: Re: pgsql: Improve performance of timezone loading, especially pg_timezone_ In-reply-to: <20119.1494170228@sss.pgh.pa.us> References: <22367.1494134345@sss.pgh.pa.us> <19225.1494169028@sss.pgh.pa.us> <20119.1494170228@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Sun, 07 May 2017 11:17:08 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9581.1494179127.1@sss.pgh.pa.us> Date: Sun, 07 May 2017 13:45:27 -0400 Message-ID: <9582.1494179127@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org I wrote: > I concur with your thought that these are separate bugs and deserve > separate commits. Will do that in a minute. BTW, I wrote in the commit log message that the posixrules omission had only minimal consequences, but on closer look that's wrong: the hardwired default in the timezone code is /* * The DST rules to use if TZ has no rules and we can't load TZDEFRULES. * We default to US rules as of 1999-08-17. * POSIX 1003.1 section 8.1.1 says that the default DST rules are * implementation dependent; for historical reasons, US rules are a * common default. */ #define TZDEFRULESTRING ",M4.1.0,M10.5.0" that is, first Sunday of April and last Sunday of October. The US hasn't gone by that since 2006. So actually, this change will have a very visible impact on the behavior of POSIX-style zone names. (I wonder why IANA hasn't updated this default? Still, that's their expertise not ours, so I'm disinclined to touch it.) regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers