Allow ON CONFLICT DO SELECT/UPDATE to return EXCLUDED values

Edit
ID 5854
Title Allow ON CONFLICT DO SELECT/UPDATE to return EXCLUDED values
CI (CFBot) Summary
Stats (from CFBot) Patch version: v6, Patch count: 1, First patch: +746−278, All patches: +746−278
Tags SQL Commands
Created 2025-06-25 11:19:53
Last modified 2026-04-10 21:35:00 (2 months ago)
Latest email 2026-07-02 06:11:47 (3 days ago)
Status
PG20-1 (2026-07-01 – 2026-07-31): Needs review
PG19-Final (2026-03-01 – 2026-04-09): Moved to different CF
PG19-4 (2026-01-01 – 2026-01-31): Moved to different CF
PG19-3 (2025-11-01 – 2025-11-30): Moved to different CF
PG19-2 (2025-09-01 – 2025-09-30): Moved to different CF
PG19-1 (2025-07-01 – 2025-07-31): Moved to different CF
Target version 19
Authors Dean Rasheed (deanr)
Reviewers Viktor Holmberg (rutchkiwi), solai v (solaiv) Become reviewer
Committer
Links
Emails
Allow ON CONFLICT DO UPDATE to return EXCLUDED values
First at 2025-06-24 18:49:23 by Dean Rasheed <dean.a.rasheed at gmail.com>
Latest at 2025-10-08 08:51:39 by "v at viktorh.net" <v at viktorh.net>
Latest attachment (v4-0001-Allow-EXCLUDED-in-RETURNING-list-of-INSERT-ON-CON.patch) at 2025-07-25 08:42:50 from Dean Rasheed <dean.a.rasheed at gmail.com>
    Attachment (v4-0001-Allow-EXCLUDED-in-RETURNING-list-of-INSERT-ON-CON.patch) at 2025-07-25 08:42:50 from Dean Rasheed <dean.a.rasheed at gmail.com> (Patch: Yes)
    Attachment (v3-0001-Allow-EXCLUDED-in-RETURNING-list-of-INSERT-ON-CON.patch) at 2025-07-09 12:13:57 from Dean Rasheed <dean.a.rasheed at gmail.com> (Patch: Yes)
    Attachment (v2-0001-Allow-EXCLUDED-in-RETURNING-list-of-INSERT-ON-CON.patch) at 2025-06-30 17:18:28 from Dean Rasheed <dean.a.rasheed at gmail.com> (Patch: Yes)
    Attachment (v1-0001-Allow-EXCLUDED-in-RETURNING-list-of-INSERT-ON-CON.patch) at 2025-06-24 18:49:23 from Dean Rasheed <dean.a.rasheed at gmail.com> (Patch: Yes)
Re: Allow ON CONFLICT DO UPDATE to return EXCLUDED values
First at 2025-10-07 13:55:49 by Viktor Holmberg <v at viktorh.net>
Latest at 2026-07-02 06:11:47 by solai v <solai.cdac at gmail.com>
Latest attachment (v6-0001-Allow-EXCLUDED-in-RETURNING-list-of-INSERT-ON-CON.patch) at 2026-06-22 10:13:39 from Dean Rasheed <dean.a.rasheed at gmail.com>
    Attachment (v6-0001-Allow-EXCLUDED-in-RETURNING-list-of-INSERT-ON-CON.patch) at 2026-06-22 10:13:39 from Dean Rasheed <dean.a.rasheed at gmail.com> (Patch: Yes)
    Attachment (v5-0001-Allow-EXCLUDED-in-RETURNING-list-of-INSERT-ON-CON.patch) at 2026-02-12 11:11:25 from Dean Rasheed <dean.a.rasheed at gmail.com> (Patch: Yes)
History
When Who What
2026-07-02 06:12:11 solai v (solaiv) Added solaiv as reviewer
2026-06-22 10:32:36 CFbot Patch does not need rebase anymore
2026-04-22 02:45:28 CFbot Patch needs rebase
2026-04-10 21:35:00 Dean Rasheed (deanr) Moved from CF PG19-Final to CF PG20-1
2026-02-12 11:12:36 Dean Rasheed (deanr) Changed name to Allow ON CONFLICT DO SELECT/UPDATE to return EXCLUDED values
2026-02-01 10:12:05 Dean Rasheed (deanr) Moved from CF PG19-4 to CF PG19-Final
2025-12-15 10:42:33 Dean Rasheed (deanr) Moved from CF PG19-3 to CF PG19-4
2025-10-24 19:28:30 Viktor Holmberg (rutchkiwi) Added rutchkiwi as reviewer
2025-10-24 19:28:22 Viktor Holmberg (rutchkiwi) Attached mail thread fb18cbb9-32ca-46ea-b2ff-a7e7f20e883c@Spark
2025-10-01 13:00:51 Dean Rasheed (deanr) Moved from CF PG19-2 to CF PG19-3
2025-08-07 15:24:37 Dean Rasheed (deanr) Moved from CF PG19-1 to CF PG19-2
2025-07-28 16:11:27 CFbot Patch does not need rebase anymore
2025-07-23 18:35:22 CFbot Patch needs rebase
2025-06-25 11:19:54 Dean Rasheed (deanr) Attached mail thread CAEZATCXXu2ohYmn=4YrRQa9yNwD_fdEEOTBPgM_5jhQOFcaQ4g@mail.gmail.com
2025-06-25 11:19:53 Dean Rasheed (deanr) Created patch record
Edit