Re: ON CONFLICT DO SELECT (take 3)
Viktor Holmberg <v@viktorh.net>
From: Viktor Holmberg <v@viktorh.net>
To: Dean Rasheed <dean.a.rasheed@gmail.com>
Cc: jian he <jian.universality@gmail.com>, pgsql-hackers@postgresql.org
Date: 2025-11-19T16:51:13Z
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
-
doc: Fix statement about ON CONFLICT and deferrable constraints.
- f188bc5145b5 15.16 landed
- 4c4fa53b9d2d 14.21 landed
- 8348004b54a7 16.12 landed
- 7a02ac28ab11 17.8 landed
- e9443a55265f 19 (unreleased) landed
- ae627d8a3cb0 18.2 landed
-
Fix ON CONFLICT ON CONSTRAINT during REINDEX CONCURRENTLY
- 2bc7e886fc1b 19 (unreleased) cited
On 19 Nov 2025 at 15:08 +0100, Dean Rasheed <dean.a.rasheed@gmail.com>, wrote: > I made a quick pass over the code, and I'm attaching a few more > suggested updates. This is mostly cosmetic stuff (e.g., fixing a few > code comments that were overlooked), plus some minor refactoring to > reduce code duplication. Neat! For the CASE default, elog(ERROR, "unrecognized LockClauseStrength %d” that was removed. Would this now trigger a compile time error/warning? And are you supposed to get 0 warnings when compiling? (I get a large amount of warnings "warning: 'pg_restrict' macro redefined" on master, but that could just be something with my environment) More of a question, the changes are an improvement. /Viktor