pgsql: Add tests for inheritance trees mixing permanent and temporaryr - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Add tests for inheritance trees mixing permanent and temporaryr
Date
Msg-id E1fZaXd-00068E-2y@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add tests for inheritance trees mixing permanent and temporary relations

While working on 1c7c317c and related things, which has clarified the
use of partitions with temporary tables, I have noticed that there could
be better coverage for inheritance trees mixing temporary and permanent
relations.  A lot of cross-checks happen in MergeAttributes() which is
not designed for this purpose, so the tests added in this commit will
make sure that any kind of future refactoring will limit the amount of
compatibility breakage.

Author: Michael Paquier
Reviewed-by: Ashutosh Bapat
Discussion: https://postgr.es/m/20180619022131.GE3314@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9994013ff32cb8371aed8ba28fc262e0a8cb0b4b

Modified Files
--------------
src/test/regress/expected/inherit.out | 31 +++++++++++++++++++++++++++++++
src/test/regress/sql/inherit.sql      | 17 +++++++++++++++++
2 files changed, 48 insertions(+)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Use $Test::Builder::Level in TAP test functions
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Use more modern instructions for creating a new dev cycle