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.98.2) (envelope-from ) id 1xODx5-000000001WQ-3guN for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Nov 2026 12:49:25 +0000 Received: from localhost ([127.0.0.1]:33682 helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xODw7-00000000SFs-0WDL for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Nov 2026 12:48:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]:42930) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xODw6-00000000SFk-3Sd3 for pgsql-hackers@lists.postgresql.org; Tue, 03 Nov 2026 12:48:22 +0000 Received: from mail-vk1-xa2f.google.com ([2607:f8b0:4864:20::a2f]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1xODw3-00000000165-2bv6 for pgsql-hackers@lists.postgresql.org; Tue, 03 Nov 2026 12:48:21 +0000 Received: by mail-vk1-xa2f.google.com with SMTP id 71dfb90a1353d-5eaf36b5c95so173772e0c.0 for ; Tue, 03 Nov 2026 04:48:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1793710100; x=1794314900; darn=lists.postgresql.org; h=mime-version:content-transfer-encoding:content-type:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=0uoeK5TrJ2HTmBkahQJdpRcQSJNkOmsjmxHS3S8JNYI=; b=dfUlB3RDIDxXo2ybWbyxNZFG300QrPSCD0uYRuMvbcLnGkc6vy83iFWEnEwkRndQ3P V94IC1uMu22BQYqNMn94j1QNtStU+vMgX7JKo46K8BCsnQFWqXagdEFBSRYE4aJLsg9Y zyKmaOPb3bQkqmon9tLNV8ScfBJqGbOKy0+1FFWC7Pl85mj5RpqWW66k8pQZpbkc4rML RpyCpmdQI/gh5igRkE1IclNR+tlNLdI0IvCq8xH1z0A+K1U4T62tQuFrFOGZoVZJeRlQ cIukhvBk/GSKepVfMGKr1+Wrd4f4hOrfXpCKpi7pNnz594u1cLeqaMfU/BjfXb5f9ANp N2GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793710100; x=1794314900; h=mime-version:content-transfer-encoding:content-type:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=0uoeK5TrJ2HTmBkahQJdpRcQSJNkOmsjmxHS3S8JNYI=; b=176rcr7gn60/I5dgS0l3T84KombKXvKNcqSkDqtpJj7vWcgU1CDn/zlcnF9a0OwovR RTHBLBRmZkbu1vOC1z3400AvJ3LCVsXDFVOT6LWPOkibEhAWu5LDVXUpITMOZi3UZvnR sde8oUpYQDSRaEtJk5mq7vqr6yRkDZPXstV1GEh1rD+I+oaxvpt6YzaFwuLJqukq/BLs 7qXivJ0/XuayciT225xh6X2lCUVi11kS0b8eHaTVcpoGBLNEtaddXrS5sWUr9PvWhYdG a6c1/ZvbC656B1aDwisd0EAUZWpiiK6XmZ1sWjJsp9ZF0UMu6IMSeGsxZleH2jgg0X9g HEDQ== X-Forwarded-Encrypted: i=1; AKwUvBzT2GsD9uQ2GR+iH23nfTA+7KquPQdYe0R1Y57PrhD6Yd8iPzrtsfAjrP6SWmQFIwY+eZ5Mjps+mlorZEdd@lists.postgresql.org X-Gm-Message-State: APuU4Z8541rLw0RFP+HTiTbvej0Z1pffyBxjlbZJsEgH5xklU1QCKAUn 4NvEd/KnzO/TZKrWZS3LnAM2vL9DkCbG+UbrJO7O20rSwVj1WPAGB5JD X-Gm-Gg: AYBFou1akFtA/0orGQEZB9A5bgjkft6Nt7J/TZaWWiibZeVxfFzNoD9+XcDfKWpmkkb gpeGfPTB9hHAk/noDS/a0wI2skfaioN7RzPAjPAOv9SNDm9xsXdyiJxGZ4QIHR3w1U/yebLTSPQ ou12ZqqWm0MBVZ9k4+S3tvCD79mvkDy1WgM5fGRNh2G150d7Ze8B8UPLNGfKn2z3RtfBdyK3620 VPTu7ytrDK1SDzUrG2e+dOjHfFv0ytF5i/JHovZC6qbFGgS9kbWeVfMgpI0RPPI3HeJh+FX+QXC 7mZSWO726ERMUMkhTdB7HT97y4da5xECLhNuUFfQ9GwpHbAL4rHUehkM/Tj+175UWyN5sXzLjiV 2S135ZT+AsTT7cjMEZt/FEOLdYi9l06HI+KE8MovVReTEDcNxLNaxcOHGXhzogtFAkbaIWQOpTM WrxWRMNA2UMkY+vT9LEBssk2EBWovAT37WNGGZi+BF8/d21r6dt5z/R/gVnkMNpP+bIKlTSTLZO Htv9o8X+Zk9OrMxYj8pWOThzsa/NV9tRQ6bWv9cSSukd1TO5XPUsFe5atRYOK+E/YI+zls26eNj oD8VkJFvBVK69jC6nAkMaX1Kcx3MqA2ZeMhhWkMdoTDlobEkgBJlUghH9bqcEOo51gmr8ow5hYj X/wvTMDp8542dpSpWwKfukLW/C/Ag62ptvifps5G2E7n1a+vhmnoHeGo= X-Received: by 2002:a05:6122:c150:b0:5ea:e18b:16a8 with SMTP id 71dfb90a1353d-5ec68292402mr5529571e0c.0.1793710099749; Tue, 03 Nov 2026 04:48:19 -0800 (PST) Received: from 192.168.1.109 ([190.12.171.212]) by smtp.gmail.com with ESMTPSA id a1e0cc1a2514c-992ee409dfdsm14554666241.6.2026.11.03.04.48.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2026 04:48:19 -0800 (PST) From: Manu To: Ajit Awekar Cc: Jakub Wartak , Etsuro Fujita , Michael Paquier , shihao zhong , Nikita Malakhov , Jehan-Guillaume de Rorthais , pgsql-hackers@lists.postgresql.org, rhaas@postgresql.org Subject: Re: [(known) BUG] DELETE/UPDATE more than one row in partitioned foreign table Date: Tue, 03 Nov 2026 09:48:08 -0300 Message-ID: <179371008812.1245613.18345043610354071644@gmail.com> In-Reply-To: References: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Ajit, On Tue, Nov 3, 2026 at 6:59 AM Ajit Awekar wrote: > I added regression tests for 1 and 2. Manu's case_i_whole_row.sql > (i1-i8) runs without errors on v5, with the same results as master. Confirmed on master 3ba886b35a2 with cassert: v5 builds without warnings, make check and postgres_fdw's check pass, and case_i_whole_row returns the same rows as master; only the plans differ. Through a single foreign table the duplicate-ctid UPDATEs and DELETEs now hit the right rows (7 of 7, master 0 of 7), and the chained case is unchanged, as the docs now say. I've set the entry to Ready for Committer. Regards, Manu