Jun 2026

1 commit
Revert "Enable fast default for domains with non-volatile constraints"
8 Jun 2026Andrew Dunstanmaster19beta2REL_19_STABLE19beta2revert
LLM analysis, 100% surewritten from the discussion, no matching patch3 of 3 reviewers saw the final version

The commit restores the constrained-domain rewrite behavior in src/backend/commands/tablecmds.c and removes the expression-context APIs and associated regression tests, rather than implementing either fix described in #1. It implements Tom Lane's revert recommendation #6, explicitly accepted by Andrew Dunstan #10.

  • Chao Lisaw the final versionLLM analysis, 92% sureChao demonstrated the division-by-zero regression in the existing feature #1 and explained the compatibility concern #3, motivating the revert rather than authoring its implementation.
  • Tom Lanesaw the final versionLLM analysis, 100% sureTom reviewed both proposed fixes, rejected catching errors without transaction cleanup, identified the need for a Table AM callback, and recommended the adopted revert #6.
  • jian hesaw the final versionLLM analysis, 87% surejian supplied non-domain error examples and examined pg_dump's command generation to challenge the dump/restore rationale, refining the technical discussion before the revert #8 #9.

Credits across 1 commit

Committer
Andrew Dunstan1