Commit d22d98c
committed
Assert that partition inherits from only one parent in MergeAttributes()
A partition inherits only from one partitioned table and thus inherits
a column definition only once. Assert the same in MergeAttributes()
and simplify a condition accordingly.
Similar definition exists about line 3068 in the same function.
Author: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAExHW5uOykuTC+C6R1yDSp=o8Q83jr8xJdZxgPkxfZ1Ue5RRGg@mail.gmail.com1 parent 58b20e6 commit d22d98c
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2721 | 2721 | | |
2722 | 2722 | | |
2723 | 2723 | | |
| 2724 | + | |
| 2725 | + | |
| 2726 | + | |
| 2727 | + | |
| 2728 | + | |
| 2729 | + | |
2724 | 2730 | | |
2725 | 2731 | | |
2726 | 2732 | | |
| |||
2792 | 2798 | | |
2793 | 2799 | | |
2794 | 2800 | | |
2795 | | - | |
2796 | | - | |
2797 | | - | |
| 2801 | + | |
2798 | 2802 | | |
2799 | | - | |
2800 | | - | |
| 2803 | + | |
2801 | 2804 | | |
2802 | 2805 | | |
2803 | 2806 | | |
| |||
0 commit comments