Add regression tests for constraint errors in partitioned tables.
While #16293 only applied to 11 (and 10 to some degree), it seems best
to add tests to all branches with partitioning support.
Reported-By: Daniel WM
Author: Andres Freund
Bug: #16293
Discussion: https://postgr.es/m/16293-26f5777d10143a66@postgresql.org
Backpatch: 10-
Branch
------
REL_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/2060999a4d6e4b946a3f032bdd3df1c55ac855b3
Modified Files
--------------
src/test/regress/expected/inherit.out | 127 ++++++++++++++++++++++++++++++++++
src/test/regress/sql/inherit.sql | 101 +++++++++++++++++++++++++++
2 files changed, 228 insertions(+)