public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Greg Rychlewski <[email protected]>
Cc: [email protected]
Subject: Re: Returning from a rule with extended query protocol
Date: Sun, 11 Aug 2024 17:54:25 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAKemG7U4r2yFCoQEkLWH0N9B9tMtCX_OmGkqpmyfZtt55-NFRg@mail.gmail.com>
References: <CAKemG7U4r2yFCoQEkLWH0N9B9tMtCX_OmGkqpmyfZtt55-NFRg@mail.gmail.com>

Greg Rychlewski <[email protected]> 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






view thread (3+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Returning from a rule with extended query protocol
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox