- Notifications
You must be signed in to change notification settings - Fork5
Commit3b11247
committed
Disallow merging ONLY constraints in children tables
When creating a child table, or when attaching an existing table aschild of another, we must not allow inheritable constraints to bemerged with non-inheritable ones, because then grandchildren would notproperly get the constraint. This would violate the grandparent'sexpectations.Bugs noted by Robert Haas.Author: Nikhil Sontakke1 parent1b9f774 commit3b11247
File tree
3 files changed
+37
-10
lines changed- doc/src/sgml/ref
- src/backend
- catalog
- commands
3 files changed
+37
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
485 | | - | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
486 | 490 | | |
487 | 491 | | |
488 | 492 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2251 | 2251 | | |
2252 | 2252 | | |
2253 | 2253 | | |
| 2254 | + | |
| 2255 | + | |
2254 | 2256 | | |
2255 | 2257 | | |
2256 | 2258 | | |
| |||
2307 | 2309 | | |
2308 | 2310 | | |
2309 | 2311 | | |
2310 | | - | |
2311 | | - | |
2312 | | - | |
2313 | | - | |
| 2312 | + | |
2314 | 2313 | | |
2315 | 2314 | | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
| 2318 | + | |
| 2319 | + | |
| 2320 | + | |
| 2321 | + | |
| 2322 | + | |
2316 | 2323 | | |
2317 | 2324 | | |
2318 | 2325 | | |
| |||
2322 | 2329 | | |
2323 | 2330 | | |
2324 | 2331 | | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
2325 | 2336 | | |
2326 | 2337 | | |
2327 | 2338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8818 | 8818 | | |
8819 | 8819 | | |
8820 | 8820 | | |
| 8821 | + | |
| 8822 | + | |
8821 | 8823 | | |
8822 | 8824 | | |
8823 | 8825 | | |
8824 | | - | |
8825 | | - | |
8826 | | - | |
8827 | | - | |
8828 | | - | |
| 8826 | + | |
8829 | 8827 | | |
8830 | 8828 | | |
8831 | 8829 | | |
8832 | 8830 | | |
| 8831 | + | |
| 8832 | + | |
8833 | 8833 | | |
8834 | 8834 | | |
8835 | 8835 | | |
| |||
8862 | 8862 | | |
8863 | 8863 | | |
8864 | 8864 | | |
| 8865 | + | |
| 8866 | + | |
| 8867 | + | |
| 8868 | + | |
8865 | 8869 | | |
8866 | 8870 | | |
8867 | 8871 | | |
| |||
8889 | 8893 | | |
8890 | 8894 | | |
8891 | 8895 | | |
| 8896 | + | |
| 8897 | + | |
| 8898 | + | |
| 8899 | + | |
| 8900 | + | |
| 8901 | + | |
| 8902 | + | |
| 8903 | + | |
8892 | 8904 | | |
8893 | 8905 | | |
8894 | 8906 | | |
| |||
0 commit comments
Comments
(0)