Mar 2020

2 commits
Add regression tests for constraint errors in partitioned tables.
23 Mar 2020Andres Freundmaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1+3 more
LLM analysis, 100% surewritten from the discussion, no matching patch

Andres Freund separately added constraint-error regression tests in src/test/regress/sql/inherit.sql and its expected output, as announced in #11. These tests are absent from #8; #13 only adjusts their expected output after the commit.

Fix potential crash after constraint violation errors in partitioned tables.
23 Mar 2020Andres FreundREL_11_STABLE11.8REL_10_STABLE10.13
LLM analysis, 99% surewritten from the discussion, no matching patch

Implements Andres Freund's proposal in #7 by adding temporary slots at four error-reporting conversion sites in src/backend/executor/execMain.c, with the landing announced in #11. It preserves the existing call structure rather than adopting the ExecBuildSlotValueDescription() refactoring attached in #8.

Credits across 2 commits

Author
Andres Freund2
Reported by
Daniel WM2
Committer
Andres Freund2