Re: Returning from a rule with extended query protocol

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Returning from a rule with extended query protocol
Дата
Msg-id 59493.1723413265@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Returning from a rule with extended query protocol  (Greg Rychlewski <greg.rychlewski@gmail.com>)
Ответы Re: Returning from a rule with extended query protocol
Список pgsql-hackers
Greg Rychlewski <greg.rychlewski@gmail.com> writes:
> I was testing creating a rule that uses RETURNING and noticed a difference
> between the extended query protocol and the simple query protocol. In the
> former, RETURNING is ignored (at least in my case) and the latter it is
> respected:

I think this might be the same issue recently discussed here:

https://www.postgresql.org/message-id/flat/1df84daa-7d0d-e8cc-4762-85523e45e5e7%40mailbox.org

That discussion was leaning towards the idea that the cost-benefit
of fixing this isn't attractive and we should just document the
discrepancy.  However, with two reports now, maybe we should rethink.

            regards, tom lane



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