Re: Returning from a rule with extended query protocol

Поиск
Список
Период
Сортировка
От Jelte Fennema-Nio
Тема Re: Returning from a rule with extended query protocol
Дата
Msg-id CAGECzQTLP+c9cOwEoBzHcyP3v9AfjLLThKw+PpTXN+hk=NcVuQ@mail.gmail.com
обсуждение исходный текст
Ответ на Returning from a rule with extended query protocol  (Greg Rychlewski <greg.rychlewski@gmail.com>)
Список pgsql-hackers
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.



В списке pgsql-hackers по дате отправления: