Re: BUG #19632: RULE rewriting crashes with XX000 when RETURNING old/new references a system column

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
Cc: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, hackerzheng666(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19632: RULE rewriting crashes with XX000 when RETURNING old/new references a system column
Date: 2026-08-20 22:14:33
Message-ID: aod8SbKOMomEUb9m@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2026-08-20 22:30:53 Re: BUG #19629: pg_restore_relation_stats reports XX000 instead of proper SQLSTATE for input validation errors
Previous Message Andrey Rachitskiy 2026-08-20 20:34:49 Re: BUG #19633: Unexpected results of IN (subquery) with a non-deterministic collation