pgsql: Add regression tests for constraint errors in partitioned tables

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add regression tests for constraint errors in partitioned tables
Date: 2020-03-23 22:04:03
Message-ID: E1jGVAx-00021k-DW@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2020-03-23 22:06:34 pgsql: Add regression tests for constraint errors in partitioned tables
Previous Message Andres Freund 2020-03-23 22:04:00 pgsql: Fix potential crash after constraint violation errors in partiti