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 1pv7zC-0002hp-Dz for pgsql-hackers@arkaria.postgresql.org; Sat, 06 May 2023 02:49:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pv7zB-0000pX-7s for pgsql-hackers@arkaria.postgresql.org; Sat, 06 May 2023 02:49:25 +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 1pv7zA-0000pO-Vc for pgsql-hackers@lists.postgresql.org; Sat, 06 May 2023 02:49:24 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pv7z7-000qt3-7H for pgsql-hackers@lists.postgresql.org; Sat, 06 May 2023 02:49:24 +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 3462nFbr3844911; Fri, 5 May 2023 22:49:15 -0400 From: Tom Lane To: Michael Paquier cc: Alvaro Herrera , pgsql-hackers@lists.postgresql.org Subject: Re: MERGE lacks ruleutils.c decompiling support!? In-reply-to: References: <20230505184338.mq2lcvbygiiujo3v@alvherre.pgsql> <3787884.1683320794@sss.pgh.pa.us> Comments: In-reply-to Michael Paquier message dated "Sat, 06 May 2023 11:46:06 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3844909.1683341355.1@sss.pgh.pa.us> Date: Fri, 05 May 2023 22:49:15 -0400 Message-ID: <3844910.1683341355@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > +WHEN NOT MATCHED > + AND s.a > 100 > + THEN INSERT (id, data) OVERRIDING SYSTEM VALUE > + VALUES (s.a, DEFAULT) > About OVERRIDING, I can see that this is still missing coverage for > OVERRIDING USER VALUE. Yeah, I couldn't see that covering that too was worth any cycles. regards, tom lane