Add regression tests for constraint errors in partitioned tables.

Andres Freund <andres@anarazel.de>

Commit: f801ceb696b4a865ef80fd29c9df880280472e03
Author: Andres Freund <andres@anarazel.de>
Date: 2020-03-23T22:06:11Z
Releases: 13.0
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-

Files

PathChange+/−
src/test/regress/expected/inherit.out modified +123 −0
src/test/regress/sql/inherit.sql modified +103 −0

Discussion