Re: INSERT ... ON CONFLICT DO SELECT [FOR ...] take 2
Joel Jacobson <joel@compiler.org>
From: "Joel Jacobson" <joel@compiler.org>
To: "Andreas Karlsson" <andreas@proxel.se>,
pgsql-hackers <pgsql-hackers@postgresql.org>, "Marko Tiikkaja" <marko@joh.to>
Date: 2025-03-07T18:51:53Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add support for INSERT ... ON CONFLICT DO SELECT.
- 88327092ff06 19 (unreleased) landed
On Wed, Mar 5, 2025, at 03:32, Andreas Karlsson wrote: > On 3/4/25 10:24 AM, Andreas Karlsson wrote: >> Rebased the patch to add support for OLD.* and NEW.*. > > Apparently the CI did not like that version. > > Andreas > > Attachments: > * v6-0001-Add-support-for-ON-CONFLICT-DO-SELECT-FOR.patch +1 This patch adds a very useful feature. I looked over the patch and noted that it touches some areas and concepts that I don't feel sufficiently familiar with. For that reason, I'm removing myself as a reviewer, hoping that someone with the appropriate expertise will step in. That said, I read through the entire patch, and everything—code, comments, tests, and documentation—appears tidy and well-structured. I didn't spot any obvious errors or issues. I did notice a couple of minor nits in the comments: - The word "strength" is misspelled as "strengh" in a few places. - There's an extra "if" in the comment "Returns true if if we're done." Overall, the patch looks solid to me. /Joel