Add regression tests for constraint errors in partitioned tables.
authorAndres Freund <andres@anarazel.de>
Mon, 23 Mar 2020 21:24:06 +0000 (14:24 -0700)
committerAndres Freund <andres@anarazel.de>
Mon, 23 Mar 2020 21:52:18 +0000 (14:52 -0700)
commit58995db07e374c2878960e0516acc49683ea102b
tree30366bfcccd7daedc87e18f6185fdd07e3530a3b
parentd35631e37cab25e57f9402fdf208176a1951c87f
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-
src/test/regress/expected/inherit.out
src/test/regress/sql/inherit.sql