Feb 2026

4 commits
Add support for INSERT ... ON CONFLICT DO SELECT.
12 Feb 2026Dean Rasheedmaster19beta1REL_19_STABLE19beta1Also in: Re: ON CONFLICT DO SELECT (take 3) (not this thread)Also in: INSERT ... ON CONFLICT DO SELECT [FOR ...] take 2 (not this thread)Also in: INSERT .. ON CONFLICT DO SELECT [FOR ..]
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #421 of 4 reviewers saw the final version

The feature component of #42 matches the commit across 46 files, with only src/backend/parser/analyze.c adjustments for the separately committed parser cleanup and an added src/include/catalog/catversion.h bump. I disagree with the attribution verdicts in thread #52673 and thread #50650: their sources #606019 and #587904 predate this matching February 2026 submission, while thread #37263 contains only a 2017 predecessor.

  • Joel Jacobsonno review foundtrailerThe opening message #1 credits his work in the predecessor thread, but this thread contains no review activity by him.
  • Kirill Reshkeno review foundtrailerThe opening message #1 credits his work in the predecessor thread, but this thread contains no review activity by him.
  • Dean Rasheedsaw the final versiontrailerHe reviewed and revised the executor and tests in #7 and #39, accepted the final series in #43, and committed it.
  • Jian Hesaw an earlier versiontrailerHe supplied extensive tests and correctness reviews through approval of #36 in #37, before Dean's function refactor and further revisions in #39.
Remove p_is_insert from struct ParseState.
12 Feb 2026Dean Rasheedmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #421 of 1 reviewer saw the final version

Lands the parser-cleanup component of #42 separately and before the feature. Dean adapts analyze.c to that ordering, removes redundant braces, and documents and strengthens the exprKind assertion in parse_target.c.

  • Dean Rasheedsaw the final versiontrailerIn #43 he verified that transformAssignedExpr can derive the needed information from exprKind, endorsed the cleanup, and subsequently committed it.
doc: Mention all SELECT privileges required by INSERT ... ON CONFLICT.
11 Feb 2026Dean Rasheedmaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.3REL_17_STABLE17.9REL_16_STABLE16.13REL_15_STABLE15.17REL_14_STABLE14.22
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #391 of 1 reviewer saw the final version

Exactly matches the complete SELECT-privileges documentation component of the three-patch submission #39. Its sole hunk in doc/src/sgml/ref/insert.sgml documents privileges required by arbiter columns and all ON CONFLICT forms.

  • Viktor Holmbergsaw the final versiontrailerIn #40 he reviewed Dean's changes and said they all looked good, raising a separate parser question that did not affect this documentation patch.
doc: Clarify RLS policies applied for ON CONFLICT DO NOTHING.
11 Feb 2026Dean Rasheedmaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.3REL_17_STABLE17.9REL_16_STABLE16.13REL_15_STABLE15.17REL_14_STABLE14.22
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #391 of 1 reviewer saw the final version

Exactly matches the complete RLS-documentation component of #39, separate from the other two patches. It updates create_policy.sgml and matching rowsecurity test comments to qualify DO NOTHING's SELECT-policy checks by the presence of an arbiter clause.

  • Viktor Holmbergsaw the final versiontrailerIn #40 he accepted Dean's reviewed changes, including the documentation corrections, without requesting changes to this component.

Dec 2025

1 commit
doc: Fix statement about ON CONFLICT and deferrable constraints.
9 Dec 2025Dean Rasheedmaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.2REL_17_STABLE17.8REL_16_STABLE16.12REL_15_STABLE15.16REL_14_STABLE14.21
LLM analysis, 100% surewritten from the discussion, no matching patch

Dean proposed the exact correction inline in #24: remove DO UPDATE from the deferrable-constraint restriction and replace 'arbitrators' with 'arbiters' in doc/src/sgml/ref/create_table.sgml. The attachments had instead proposed DO UPDATE / SELECT, and #25 removed that change for separate handling.

Credits across 5 commits

Author
Dean Rasheed3
Viktor Holmberg2
Andreas Karlsson1
Marko Tiikkaja1
Reviewer
Dean Rasheed2
Viktor Holmberg2
jian he1
Joel Jacobson1
Kirill Reshke1
Committer
Dean Rasheed5