Thread: Re: Allow ON CONFLICT DO UPDATE to return EXCLUDED values

Re: Allow ON CONFLICT DO UPDATE to return EXCLUDED values

From
Dean Rasheed
Date:
On Tue, 24 Jun 2025 at 19:49, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
>
> The attached patch allows EXCLUDED values to appear in the RETURNING
> list of INSERT ... ON CONFLICT DO UPDATE.
>
> I still have a lot more testing to do, and docs to update, but so far
> the results look promising. I'll add this to the next CF.
>

v2 attached, now with docs and more test cases.

Regards,
Dean

Attachment