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 1wxB26-002UVy-2O for pgsql-bugs@arkaria.postgresql.org; Thu, 20 Aug 2026 22:14:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wxB25-00AEG0-23 for pgsql-bugs@arkaria.postgresql.org; Thu, 20 Aug 2026 22:14:45 +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 1wxB25-00AEFs-0D for pgsql-bugs@lists.postgresql.org; Thu, 20 Aug 2026 22:14:45 +0000 Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wxB22-00000000NiV-2L27 for pgsql-bugs@lists.postgresql.org; Thu, 20 Aug 2026 22:14:44 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 53E5014001AB; Thu, 20 Aug 2026 18:14:40 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Thu, 20 Aug 2026 18:14:40 -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=fm3; t=1787264080; x=1787350480; bh=YLZdkRDqqv brpqJELpBhpiOsswS2FyrslS455xgflOw=; b=tjGe8d5IG0DINQZf4eklTHB8FD Ob2bQHb+/t9s8vvnQRyOxD/hU5iNSRqki+x5wNEsn8eZk9xn1mXIWr8ndg9Ft/UK dqxSJNHF6ZMLrrhzZu8WSIJlAmAmIjtJhTV1UhBXMf1I9b4ywRYAbgTTuGS0dt/q FTSoE458kKJF7JYS+4DxTu7IGPkJyi1njQ0m5Mc5V7RtvKCrUYt/qAK5LuL+spBb Wyb/tZ2f5SVqZETEXbRhf57GGZVSxGuz+OEcurN+faufrQHrxLJ2iGU245cr1JzI FaKCaMQhFP3R6GQyuNv3uYzX1lumML2MwOlCKcECs/nn8NOHNxJnO+lA9dKQ== 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=fm3; t= 1787264080; x=1787350480; bh=YLZdkRDqqvbrpqJELpBhpiOsswS2FyrslS4 55xgflOw=; b=h1/ivZ9W3KW//evPab5GXu27oy/Qkw7arZnfLhiEa0MhtQkal9R vnJHscZviKJPOAzelMmRUowjRMXC2qPIPcsSFWFzatxWlMtW+KzzOaJFEHfk2FAf bMyLuvbEkdfGkS6J0i0hQzcare57wurCtYF5HOxU8t9lzHHHvvrrXU44OCBpk/Dd kj8Ad7l/gQexCgu29pAut5NIaKpv9J4ussyNtWOByKIySesuBda3npdZovjGFuNB SmcVKMEcJHAbXTi9BUSvRSR2SUjmlN3kkkw9Ya4xga8IIp2oKmZqAqEGNyBJxXEt 5M3t8Utv1vA2Dzo9zOwv69PxPisuKsbQSig== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTGDCuyBcFqdlBqF8BhpOlDIhZpQz2GBLnHZWYIE8U9IGItbCngjElBgypLFDnI3Y+ 7TT8ulUjlCEl+P9o0EXqo4ZQdal/Dlk3oUwpvrh6saqTWzf60uxg2HsRYC6TZmykOfPS9E hnCBshED3Gwl3AeoBjT7lV0gk46FvpST2KB/UQhKQZB4n0Vv7sg+Vl5UUsbGmJ9pPtXyG6 C+06vHBybHuSNmaynhbB2rpLEHm2TptseBt+6iYt9Qahu8sT8ro77Zv7V42tYh3FamRAYe +7LK8ugwaobCmIvk7SoOBV/0WSCENmAvDhsHprNL6dyMP1EJVk3m8HcJRlMpwesf3tfTm3 R+jbQY4lvkzSfY9uhABQlGJK8/rRGV6NNlyyGjCI62ibr6tminu7CKZpvXPOBoCEy6+QDx Eq206tyZrjzUlk8Lu0djahfR0NV4chTlQzCztXbeIxjKfSLhfo35l5E8mjenTvYgri8gw8 xssiPwhRu72KYD4x/79cBGQcv55kfmxJXNeDukvYBpstB+sP+NQwCAh3SUXAMnSjAg7VZs 2YrnFrwqBAmxBNYJV6B1qJ1Xf8riYWQEEP17Rf8sO2fzxYVbQcC908yQzTfjmGWkcm8ufc +oGBZEMCSDBbO/QuU4wq1EJVeOPBP18uRWgIPoCcoljUYm9a2rB9CM4w9DFg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 20 Aug 2026 18:14:37 -0400 (EDT) Date: Fri, 21 Aug 2026 07:14:33 +0900 From: Michael Paquier To: Ayush Tiwari Cc: Zsolt Parragi , Fujii Masao , hackerzheng666@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #19632: RULE rewriting crashes with XX000 when RETURNING old/new references a system column Message-ID: References: <19632-9155d9baec763c8c@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RS4Pa5Y4k249lhCm" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --RS4Pa5Y4k249lhCm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Aug 20, 2026 at 02:28:17PM +0530, Ayush Tiwari wrote: > Right, I initially thought of that, but I had prepared a different patch > for this, and I was going to post, but it was quite similar to the one > you already did. However, yes we can handle it all in the same > commit. Handling them separately feels fine here. That's just tackling one problem at a time, looking at each problem separately.. > Here's a combined patch attached with all the 4 bugs addressed. > [Please help review if I missed something, also including Fujii-san > since he was working on one of them] Please do not digress the subject of this thread. Cross-posting the same message across multiple places just makes the whole confusing.. -- Michael --RS4Pa5Y4k249lhCm Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmqHfEkACgkQnvQgOdby QH3ZFg/8Ce7VTnuvPAgmKTtDV9Q65Lfxer8kbEXlnqwFme7EBMO42ZB4JAb7MbOP lKCXuoEOJwjw5lLmnUQOtAV7ReX6XpfzQiGlte2B1oiuiTNliGH1byf/TI/nrAi5 i+eBxXPBluOcvLOBbvtbEyP3/BQxl229XfCveZNsBXRN5Awq9iJikz4rnv6/9Vqi 6vhP+U6pZeCEAGIDvstUECZTPlA6lAKkV4D51aASCuGSwQLvsdprJqDXMh8kmYrA evcwBjogcX1gJc/P3PR8iYDjCN5N1tuhDwumryR6rP1OPok5HLJeAwDEO7X4bnFt 6+D75XLcbDpepbnWjK9BFGgdSaRmUVdlHU0K2Gn7tOgYb7psquM4/uwB9nyQCtro PnETtfytrTr1qYFoK9A9nCeKA37wj9kFREIaau5yezxAe969u0j5gEDIoacfL+tE /m1g/e84739jdOfZbVMmLpl+hjMN0hsmAUlNCmzz/aNSQHR02pF9dBHkxtGFg5el I2J0M+QJNWNpBh129hPjCCqqdHNOkugOpWXfXNaFanf6EOIi+iU9LUpV84SMQYCJ kALQwUkPUafsQ8G9VlLdNBgISpn+mP+c6iMkLccCweuhjHfD36jy0FuZLp1Cq7sk tuQMgwukrEwvlK3r3z/kZj8IX6u+T/EkoBx541eOhOKeCrF/WyA= =6arg -----END PGP SIGNATURE----- --RS4Pa5Y4k249lhCm--