Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s6aY6-000XdE-3u for pgsql-general@arkaria.postgresql.org; Mon, 13 May 2024 18:37:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s6aX7-004HRn-O8 for pgsql-general@arkaria.postgresql.org; Mon, 13 May 2024 18:36:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s6aX7-004HRe-Ci for pgsql-general@lists.postgresql.org; Mon, 13 May 2024 18:36:21 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s6aX0-0002YG-Vn for pgsql-general@lists.postgresql.org; Mon, 13 May 2024 18:36:20 +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 44DIaCDm831535; Mon, 13 May 2024 14:36:12 -0400 From: Tom Lane To: Christophe Pettus cc: Adrian Klaver , "pgsql-generallists.postgresql.org" Subject: Re: UTC is not a time zone? In-reply-to: <38C9B285-5F4B-4A94-BD34-6FE275A35A39@thebuild.com> References: <327870A4-F35C-462C-9F64-E0838374AFDF@thebuild.com> <63e65356-9cb5-48b7-9bc5-5c734013ebe1@aklaver.com> <828310.1715624225@sss.pgh.pa.us> <8DA3DC1C-E406-4921-8A86-A83BF140E13D@thebuild.com> <38C9B285-5F4B-4A94-BD34-6FE275A35A39@thebuild.com> Comments: In-reply-to Christophe Pettus message dated "Mon, 13 May 2024 11:27:34 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <831533.1715625372.1@sss.pgh.pa.us> Date: Mon, 13 May 2024 14:36:12 -0400 Message-ID: <831534.1715625372@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Christophe Pettus writes: >> On May 13, 2024, at 11:26, Adrian Klaver wrote: >> May not induce the error unless there are parallel workers involved. > Indeed. I'll see about pulling together a test case that forces that. Right. Once a backend process has loaded a zone file, it caches that in a hash table that it will never flush (which is arguably a bug for other reasons, since those files aren't really immutable, but that's how it behaves today). So you've got 0 chance of hitting this via repeat SET TIMEZONE in a single backend. regards, tom lane