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 1pVcBa-0002O2-Bm for pgsql-bugs@arkaria.postgresql.org; Fri, 24 Feb 2023 17:48:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pVcBZ-0003hU-5p for pgsql-bugs@arkaria.postgresql.org; Fri, 24 Feb 2023 17:48:45 +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 1pVcBY-0003hK-TH for pgsql-bugs@lists.postgresql.org; Fri, 24 Feb 2023 17:48:44 +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 1pVcBW-0004n6-Ks for pgsql-bugs@lists.postgresql.org; Fri, 24 Feb 2023 17:48:43 +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 31OHmcxD853287; Fri, 24 Feb 2023 12:48:38 -0500 From: Tom Lane To: Andres Freund cc: Michael Paquier , exclusion@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17800: ON CONFLICT DO UPDATE fails to detect incompatible fields that leads to a server crash In-reply-to: <20230224174412.xk3y364t6a2udp5t@awork3.anarazel.de> References: <4111538.1677024007@sss.pgh.pa.us> <20230222011705.sv75mkhvmxuqv22l@awork3.anarazel.de> <20230222192350.wviaslfpo3w2ja3l@awork3.anarazel.de> <290812.1677101054@sss.pgh.pa.us> <586533.1677178414@sss.pgh.pa.us> <20230223210012.4qigvo6sryn2syu5@awork3.anarazel.de> <718944.1677189963@sss.pgh.pa.us> <20230223233636.zkt4tqzsc4b6ekwn@awork3.anarazel.de> <20230224015417.75yimxbksejpffh3@awork3.anarazel.de> <851179.1677259566@sss.pgh.pa.us> <20230224174412.xk3y364t6a2udp5t@awork3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Fri, 24 Feb 2023 09:44:12 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <853285.1677260918.1@sss.pgh.pa.us> Date: Fri, 24 Feb 2023 12:48:38 -0500 Message-ID: <853286.1677260918@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > On 2023-02-24 12:26:06 -0500, Tom Lane wrote: >> Are you planning to push forward with this, or do you want me to? >> It's really my bug, since the existing MULTIEXPR implementation >> is my fault. > I'd happy if you had a go at it. I might take a stab at moving the the > argument evaluation inline, after this goes in. Sounds like a plan. regards, tom lane