- Notifications
You must be signed in to change notification settings - Fork5
Commit31b6fc0
committed
Fix inheritance count tracking in ALTER TABLE .. ADD CONSTRAINT.
Without this patch, constraints inherited by children of a parenttable which itself has multiple inheritance parents can end up withthe wrong coninhcount. After dropping the constraint, the childrenend up with a leftover copy of the constraint that is not dumpedand cannot be dropped. There is a similar problem with ALTER TABLE.. ADD COLUMN, but that looks significantly more difficult toresolve, so I'm committing this fix separately.Back-patch to 8.4, which is the first release that has coninhcount.Report by Hank Enting.1 parent8c19d14 commit31b6fc0
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
4890 | 4890 | | |
4891 | 4891 | | |
4892 | 4892 | | |
| 4893 | + | |
| 4894 | + | |
| 4895 | + | |
| 4896 | + | |
| 4897 | + | |
| 4898 | + | |
| 4899 | + | |
| 4900 | + | |
| 4901 | + | |
4893 | 4902 | | |
4894 | 4903 | | |
4895 | 4904 | | |
| |||
0 commit comments
Comments
(0)