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 1kTsSl-0001yt-JU for pgsql-bugs@arkaria.postgresql.org; Sat, 17 Oct 2020 20:05:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kTsSk-0002yN-Fi for pgsql-bugs@arkaria.postgresql.org; Sat, 17 Oct 2020 20:05:58 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kTsSk-0002yG-9s for pgsql-bugs@lists.postgresql.org; Sat, 17 Oct 2020 20:05:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kTsSh-0002ac-Qf for pgsql-bugs@lists.postgresql.org; Sat, 17 Oct 2020 20:05:57 +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 09HK5sb6137474; Sat, 17 Oct 2020 16:05:54 -0400 From: Tom Lane To: Tijs van Dam cc: "David G. Johnston" , "pgsql-bugs@lists.postgresql.org" Subject: Re: date/time special values incorrectly cached as constant in plpgsql In-reply-to: <119368.1602951496@sss.pgh.pa.us> References: <119368.1602951496@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Sat, 17 Oct 2020 12:18:16 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <137472.1602965154.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 17 Oct 2020 16:05:54 -0400 Message-ID: <137473.1602965154@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I wrote: > Indeed, but I concur with the OP that 8.5.1.4 doesn't really expend enou= gh > words on this point. After a bit more thought, I committed https://git.postgresql.org/gitweb/?p=3Dpostgresql.git;a=3Dcommitdiff;h=3D5= 40849814cdc22ea025777d374ff6705b4d64a0f regards, tom lane