]> granicus.if.org Git - postgresql/commit
Add tests for inheritance trees mixing permanent and temporary relations
authorMichael Paquier <michael@paquier.xyz>
Sun, 1 Jul 2018 11:20:06 +0000 (20:20 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sun, 1 Jul 2018 11:20:06 +0000 (20:20 +0900)
commit9994013ff32cb8371aed8ba28fc262e0a8cb0b4b
tree05b8b0f74e36bc90222dc300e9943df92c4478ed
parentc4309f4aeeae54e4c5281d68e29288af1d0d1ed2
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
src/test/regress/expected/inherit.out
src/test/regress/sql/inherit.sql