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.96) (envelope-from ) id 1wXRRm-003Gd2-0K for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Jun 2026 22:30:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wXRRk-00DKMP-2d for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Jun 2026 22:30:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wXRRk-00DKMH-1j for pgsql-hackers@lists.postgresql.org; Wed, 10 Jun 2026 22:30:52 +0000 Received: from fout-b1-smtp.messagingengine.com ([202.12.124.144]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wXRRi-00000002Pcn-2Agx for pgsql-hackers@lists.postgresql.org; Wed, 10 Jun 2026 22:30:52 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.stl.internal (Postfix) with ESMTP id 353511D000EC; Wed, 10 Jun 2026 18:30:48 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Wed, 10 Jun 2026 18:30:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1781130648; x=1781217048; bh=sX69y2daDP +n92mZN1V3W4pQZCwBV2oVpBTPpd4LaRA=; b=IyqckTTuib/+09XRxGvPXVxw8H 9oM0yHfobMx5ZN8VhLzh4+s+NmmvLMIWxTV0Lg7YRuJho6ILvcPYQxHrXmVYXNWY vOW8fRJ7phlcL/7yJHYXRr9i+Tc2WALhqehsbiwk+BSy6PTY1DB8hn0Qz4rn+00y 13nmmNgTXLKGVIga8UBl+sBetHQXGz83sXQ5qeiuZfXWqGH72xo2MwyOIRumMwS1 5ue0QkcMHNZO1K1vquch1rjmEghCrHwDo+D1PYpXCnq1ApDDC87sH8wgg6pDa6Ut XB7hp6YxAvOeCLC5+NS3SPtpzHfeT07UZtvJxWsFg/FTGTtcooH2JC5Xgtfg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1781130648; x=1781217048; bh=sX69y2daDP+n92mZN1V3W4pQZCwBV2oVpBT Ppd4LaRA=; b=ZEinhOgR5NBqB1RiNH5Ul8u6tV8yNMrsDjSDVN7bJA3lPUSQqFN +Si85Q8HQMEG4a1xMJxUEp8lcAYTDDklbQT6ZIu/1dXL1devvVHc2HSp6PFap5jl jpBj+By0OuHAkp/fYAzEE+4x4aT2oQjMTyfPWb1LAdvICeE5+XLCyiUWnUzIwaDl HZeH9EoZ0IF74bO/O/0xqM9u806ZzD1IzYGdfdn70XT6GRSXQJFcPQjOyY4Q0lUw n8H2JDYBKSBUvxTbkBtXIs2Z/4CeXR8ecV+V7ioGkQJAlL/Bl2c8RnnfJQfUFzQW 1d4FCwkj1XWk2kH1iOFkeK2luE9SFREOkgg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTGJJQvGcVi8L1afmLXDC7ohdUlqOdagCxWUoz6BVCrHjubwU0larh7qwjIrpc4/j5 SLjoJG7RkxgFh6UJOKzDN2h6naOczmNDHqNFri7ezB7Ud7syVbdsiD8IAVCt9aqvVb7YWB AiCEvfqfJF1zvxsQVnVOGGe6iImi9NTI/Pd7pyThHsxO8BYgxF/CZJ+Q9KIbtZsUxU4h8b O9oXQhK1C43LBcoeGvJrpf8F2Yht6oF8KXY+FoUQwIwSXy5lHZ4tTDWD5b0X+sALzJ/t6Z gnnhH/wjnRF4LabwQ3sYx6ckM/ieG27lOOfGdKoYyGBC1QSu/ljnoGWJ74HMQ29GWb4zBt sQreSzMNZnL+G4nQD0rM1ZPTSjKZ3t0vh1+XoGzL5iC/KTOyjfp5d1QiJfRm8R0B/30PQK hlwRZZ2sPRaDaiUzjnLP4r01kE738HXw2GJWcBUQwLwCyWpwK0ScE+pHw/CyqHdZNUZt+3 Z0yNp3byhmFWu4g48NtJc611cA3MWmoqmF04JNOEuvtxk0YPjEITA8HUsgsnwL4dNhHXcm xYiUO+Q/AnxIxCGfSC9zV37DEF4bB6gErsMmGYsyLRkd2gHqEtsoQ3Ibhhtmg4gTNHuB/k aJCaz5VuQzjknPytT1kzXqIs/TTli42bbfmbr4qQvonYnyn81z1TS09zj97w X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 10 Jun 2026 18:30:46 -0400 (EDT) Date: Thu, 11 Jun 2026 07:30:42 +0900 From: Michael Paquier To: Etsuro Fujita Cc: Nikita Malakhov , Jehan-Guillaume de Rorthais , pgsql-hackers@lists.postgresql.org Subject: Re: [(known) BUG] DELETE/UPDATE more than one row in partitioned foreign table Message-ID: References: <20250718175314.4513c00a@karst> <20250729174852.14f23557@karst> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zBD2tkNq6JLyKBcz" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --zBD2tkNq6JLyKBcz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 10, 2026 at 08:30:46PM +0900, Etsuro Fujita wrote: > To address this, I think it would be good if we could 1) extend the > concept of inheritance to cover remote inheritances, like pt, and 2) > extend inherited UPDATE/DELETE so that we update/delete leaf tables, > like pt_p2, somehow directly, as done for local inheritances. I'm not > sure about how to do that, though. FWIW, I think that there is a good argument for keeping it down to simpler, and just not care about the option chain in such cases, leaving it up to users to address that with two imports anyway? Just=20 having the option at one level would solve most historical problems I could see on this thread. Good is sometimes a better option than theoretically perfect. And good here means a simpler implementation overall, at least it seems to me so.. -- Michael --zBD2tkNq6JLyKBcz Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmop5ZIACgkQnvQgOdby QH1rmg//fRcWr0zDyIaRJ+J673dT5e/yzAckKxPPbPGpoXRZKNT+1D7ktfEzJ5lP MirfA/a/UOSvl24cChG4kwmdh4c49Dqx1Xq3ewVq0CWltk+han7bf7wmGJPb52O4 LluDVTFOEuCAqRclnC1GroYrUiEonbE2Y3AD30EVMSw7YnB/c0yHWRoVtLXgiMFz GF+Ce0LlYzZyMI6Zxo3b3XYouXAfTGn5aQujAxqrqCu0/l4Ik7ax93/3F/dzX1lu FFtTLvqD3F9/BRCQepyr3sTM/MuQMOuZwDeBcUPfzZm60Ya94resUONuX0Wm9n2p aC88CNNSiMea+RYo+KGIUhTJKttHKvODifLACqiQA7cX2oDQdVDvzuKHVebuGawK WDLa8dBBZo3gUBt27nwvxw/Qt0zyZsL4bfrZTOAuBnnpcZfanyuDFXYue4t00PdJ jaXjj6nPipfnRkHiGbcap/q4FjsTNOy2ByN1nDPeMhTnQf//17bKTfmUxhIOWDK3 lj/Ny/MdJ33iB2yX9Of9004LNqUUTR7Ty14ojEsHHnzfZ3yMLAnIWjt8YHPBbKnI SCbh0Mts+He7+fHffSZ3QCt84TbwHUdKNnIC6AVWgWM2PnpkYjWEgUqypoVtEY0t 66874YZp3bngyRWHsrboUGb5z8Wyqp/FN1WN7mqP9Fjj38wogkU= =p2F+ -----END PGP SIGNATURE----- --zBD2tkNq6JLyKBcz--