Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mW1U0-0006PA-HQ for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Sep 2021 19:12:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mW1Tz-0003Qo-Bh for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Sep 2021 19:12:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mW1Tz-0003Qg-4F for pgsql-hackers@lists.postgresql.org; Thu, 30 Sep 2021 19:12:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mW1Tx-0000UC-3c for pgsql-hackers@postgresql.org; Thu, 30 Sep 2021 19:12:38 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 18UJCT1i3188328; Thu, 30 Sep 2021 15:12:29 -0400 From: Tom Lane To: Andres Freund cc: pgsql-hackers@postgresql.org, Peter Eisentraut , Petr Jelinek Subject: Re: 002_types.pl fails on some timezones on windows In-reply-to: <20210930183641.7lh4jhvpipvromca@alap3.anarazel.de> References: <20210930183641.7lh4jhvpipvromca@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Thu, 30 Sep 2021 11:36:41 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3188326.1633029149.1@sss.pgh.pa.us> Date: Thu, 30 Sep 2021 15:12:29 -0400 Message-ID: <3188327.1633029149@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > It turns out to be dependant on the current timezone. I have just about zero > understanding how timezones work on windows, so I can't really interpret why > that causes a problem on windows, but apparently not on linux. Weird. Unless you're using --with-system-tzdata, I wouldn't expect that code to work any differently on Windows. regards, tom lane