On Sun, 11 Aug 2024 at 13:29, Greg Rychlewski <greg.rychlewski@gmail.com> wrote:
> I was testing creating a rule that uses RETURNING and noticed a difference between the extended query protocol and
thesimple query protocol. In the former, RETURNING is ignored (at least in my case) and the latter it is respected:
That seems like a bug to me. The simple and extended protocol should
return the same data for the same query. I'm guessing CREATE RULE
isn't often enough for this difference to be noticed earlier. So yeah
please dig through the code and submit a patch to fix this.