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 1qsO3X-007pKO-Jg for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Oct 2023 13:54:51 +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 1qsO3T-001CdJ-HI for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Oct 2023 13:54:48 +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 1qsO3T-001CbW-8L for pgsql-hackers@lists.postgresql.org; Mon, 16 Oct 2023 13:54:47 +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 1qsO3Q-000lEk-QK for pgsql-hackers@lists.postgresql.org; Mon, 16 Oct 2023 13:54:46 +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 39GDsf9U2287836; Mon, 16 Oct 2023 09:54:42 -0400 From: Tom Lane To: Michael Paquier cc: Noah Misch , Thomas Munro , Vik Fearing , cary huang , pgsql-hackers@lists.postgresql.org Subject: Re: Add support for AT LOCAL In-reply-to: References: <2188264.1697425365@sss.pgh.pa.us> <2191749.1697427017@sss.pgh.pa.us> <20231016045804.c0@rfd.leadboat.com> <20231016055051.3a@rfd.leadboat.com> <2208907.1697435663@sss.pgh.pa.us> <20231016060510.72@rfd.leadboat.com> Comments: In-reply-to Michael Paquier message dated "Mon, 16 Oct 2023 16:29:56 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2287834.1697464481.1@sss.pgh.pa.us> Date: Mon, 16 Oct 2023 09:54:41 -0400 Message-ID: <2287835.1697464481@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > Perhaps that's a stupid question.. But a server running under this > environment fails the two following queries even for older branches, > right? > select timezone('UTC', '23:59:59.99-07'::timetz); > select timezone('UTC', '23:59:00-07'::timetz); One would expect, since the AT LOCAL syntax is just sugar for that. I'm mighty tempted though to (a) add coverage for timetz_izone to HEAD, and (b) backpatch the new tests, sans the AT LOCAL case, to the back branches (maybe not v11). regards, tom lane