Thread: pgsql: Add tests for inheritance trees mixing permanent and temporaryr

pgsql: Add tests for inheritance trees mixing permanent and temporaryr

From
Michael Paquier
Date:
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(+)