Edition of Thursday 3 December 2026

Missed in PostgreSQL 19 : Add support for INSERT … ON CONFLICT DO SELECT.

Comments on “Missed in PostgreSQL 19 : Add support for INSERT … ON CONFLICT DO SELECT.”

Claim-checked. Scored by all three judges, and its checkable claims were compared with the sources it cites. How far stories are checked

PostgreSQL 19 adds INSERT ... ON CONFLICT DO SELECT, committed by Dean Rasheed in February 2026. It returns the existing row on a conflict, so "get or create" works in one statement without the dead row, WAL and update triggers of the DO UPDATE workaround. It requires RETURNING and accepts FOR UPDATE/SHARE and a WHERE filter. depesz's examples show the command tag counts returned rows, not inserted ones, which can mislead apps. The old/new values in RETURNING (from version 18) identify inserted rows. The commit details were not independently verified.

Read the original at depesz.com. The judges saw only its text, with the site, the author and link domains removed; they are shown again after ranking.

Why it ranked

No. 9 of 140 with a score of 0.70. The panel rated it highest on new information (0.92) and substantiated (0.89), lowest on audience breadth (0.55). Placed No. 9, No. 10 by score alone: the placement terms moved other stories past it.

AI judgeJudge 2claude-haiku-5-5
Clear, well-substantiated technical tutorial on a new PostgreSQL 19 feature with examples; practical for database users, narrower audience, modest significance, no promotion or overclaim.
AI judgeJudge 3gpt-5.6-luna
A well-supported PostgreSQL 19 feature announcement with reproducible SQL examples and clear implications for race-free get-or-create patterns, write amplification, locking, RETURNING semantics, and sequence behavior.

Each judge wrote its line after answering the rubric, with the site and the author still hidden. Every answer behind this is in the table under Score.

Score

0.70total under rubric v2.3

Judges’ mean answer per question, on a scale from 0 to 1. Questions marked minus count against the score.
  • Significance0.58
  • Reader interest0.75
  • Audience breadth0.55
  • Practical relevance0.82
  • Substantiated0.89
  • Technical depth0.87
  • New information0.92
  • Counts against: Promotional0.04
  • Counts against: Overclaim0.14

Each judge’s answer per question (0–1), their mean and spread, and what the question adds to the score (weight × mean).

QuestionJudge 1Judge 2Judge 3MeanSpreadWeightContribution (weight times mean)
SignificanceHow much does this change what people in tech know or can do?0.580.450.720.580.27+0.24+0.140
Reader interestWould a well-informed senior engineer or tech founder want to read this today, and likely pass it on?0.640.720.900.750.26+0.26+0.196
Audience breadthHow many people who build technology does it concern?0.510.550.580.550.07+0.13+0.071
Practical relevanceHow useful is it to someone who builds software or tech products?0.860.750.860.820.11+0.22+0.181
SubstantiatedHow well is it backed? Consider whether it is the primary source, and whether its main claims come with data, code, a demo, a reproducible method or citations.0.880.850.930.890.08+0.05+0.044
Technical depthHow technically substantive is it?0.990.850.780.870.21+0.05+0.044
New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)?0.810.951.000.920.19+0.05+0.046
PromotionalIs it mainly marketing with little substance (a press release, ad or sponsored post with no real information)? A launch post that carries real news is not promotional.0.050.050.020.040.03−0.19−0.008
OverclaimDo the headline or conclusions claim more than the body supports?0.240.100.080.140.16−0.11−0.015
Sum of contributions+0.699
Claim-check penalty0.000
Total, as published0.699

Spread is the highest minus the lowest judge answer. marks a spread above 0.40: the judges disagree, and the story is marked contested.

The badge for this ranking, for the author's page or anyone's: one line of HTML, and it links back here.

Ranked #9 on Rubric, 3 Dec 2026
<a href="https://rubric.hrih.si/editions/2026-12-03/9/"><img src="https://rubric.hrih.si/badge/2026-12-03/9.svg" alt="Ranked #9 on Rubric, 3 Dec 2026" width="231" height="28"></a>

Claim check

Claim check: 1 matches source · 3 no source given · 4 couldn’t check. Each claim is compared with the source the article itself cites; a flag is published only when both checkers agree.

  1. Couldn’t checkDate

    Dean Rasheed committed the patch adding INSERT ... ON CONFLICT DO SELECT to PostgreSQL on 12 February 2026.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “On 12th of February 2026, Dean Rasheed committed patch”

    The source says

    No passage could be compared.

    Source cited by the article: git.postgresql.org/pg/commitdiff/88327092ff06c48676d2a603420089bf493770f3

  2. Couldn’t checkVersion

    The new ON CONFLICT DO SELECT action returns the pre-existing rows when conflicts are detected and requires a RETURNING clause on the INSERT.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “This adds a new ON CONFLICT action DO SELECT [FOR UPDATE/SHARE], which returns the pre-existing rows when conflicts are detected”

    The source says

    No passage could be compared.

    Source cited by the article: git.postgresql.org/pg/commitdiff/88327092ff06c48676d2a603420089bf493770f3

  3. Couldn’t checkVersion

    With DO SELECT FOR UPDATE/SHARE, rows filtered out by the optional WHERE clause are still locked.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “rows filtered out by the WHERE clause are still locked”

    The source says

    No passage could be compared.

    Source cited by the article: git.postgresql.org/pg/commitdiff/88327092ff06c48676d2a603420089bf493770f3

  4. Couldn’t checkVersion

    The commit bumps catversion because stored rules change.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “Bumps catversion as stored rules change”

    The source says

    No passage could be compared.

    Source cited by the article: git.postgresql.org/pg/commitdiff/88327092ff06c48676d2a603420089bf493770f3

  5. No source givenCausal conclusion

    The "fake update" workaround (ON CONFLICT DO UPDATE SET username = excluded.username) writes a new row version, leaving a dead row to be vacuumed, generating WAL and firing update triggers.

    The article gives no link or citation for it.

    The article says

    “new row version was written, old one is now dead, and will have to be vacuumed. Plus WAL, plus update triggers fire, and so on”

    The source says

    No source to compare with.

  6. No source givenCausal conclusion

    With DO SELECT, the conflicting row is returned unchanged (same ctid and xmin) and nothing is written for it.

    The article gives no link or citation for it.

    The article says

    “depesz row is returned as it was – same ctid, same xmin. Nothing was written for it”

    The source says

    No source to compare with.

  7. No source givenNumber

    With DO SELECT the command tag count is the number of returned rows, not inserted rows.

    The article gives no link or citation for it.

    The article says

    “With do select the count is number of returned rows, not inserted ones”

    The source says

    No source to compare with.

  8. Matches sourceVersion

    Since PostgreSQL 18, RETURNING supports old and new values.

    The cited source says the same thing.

    The article says

    “Since Pg 18 we have old and new in returning”

    The source says

    “Add OLD/NEW support to RETURNING in DML queries”

    Source cited by the article: depesz.com/2025/01/30/waiting-for-postgresql-18-add-old-new-support-to-returning-in-dml-queries

Also covered by

No other coverage was clustered with this story.

Elsewhere

Elsewhere: HN —

Recorded for context only, checked 3 Dec 2026, 05:47 UTC. It played no part in the ranking.

Panel for this edition

Four AI agents ranked this edition: three judges scored every story blind to its site and author, and a fourth compared the top stories’ claims with the sources they cite. Summaries are written by AI.

Model versions are pinned for every edition. How ranking works describes rubric v2.3.

Comments

Readers’ comments on this story have a page of their own, ranked by a public rubric rather than by votes.

Comments on “Missed in PostgreSQL 19 : Add support for INSERT … ON CONFLICT DO SELECT.”

More on Rubric

From the last 7 editions, chosen by shared topic, score and date.