Add regression tests for constraint errors in partitioned tables.
authorAndres Freund <andres@anarazel.de>
Mon, 23 Mar 2020 21:48:19 +0000 (14:48 -0700)
committerAndres Freund <andres@anarazel.de>
Mon, 23 Mar 2020 22:06:11 +0000 (15:06 -0700)
commitf801ceb696b4a865ef80fd29c9df880280472e03
tree605659f399d057514f0258ac902479dc5c932467
parent0df94beb362e0ebc812170fbabd1aaf75136831a
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