- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit5ea47e8
committed
Fix pg_dump to handle inherited NOT VALID check constraints correctly.
This case seems to have been overlooked when unvalidated check constraintswere introduced, in 9.2. The code would attempt to dump such constraintsover again for each child table, even though adding them to the parenttable is sufficient.In 9.2 and 9.3, also fix contrib/pg_upgrade/Makefile so that the "makeclean" target fully cleans up after a failed test. This evidently gotdealt with at some point in 9.4, but it wasn't back-patched. I ran intoit while testing this fix ...Per bug #13656 from Ingmar Brouns.1 parenta742ef8 commit5ea47e8
File tree
3 files changed
+19
-2
lines changed- src
- bin/pg_dump
- test/regress
- expected
- sql
3 files changed
+19
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14713 | 14713 |
| |
14714 | 14714 |
| |
14715 | 14715 |
| |
14716 |
| - | |
14717 |
| - | |
| 14716 | + | |
| 14717 | + | |
14718 | 14718 |
| |
14719 | 14719 |
| |
14720 | 14720 |
| |
|
Lines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
438 | 438 |
| |
439 | 439 |
| |
440 | 440 |
| |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
441 | 454 |
| |
442 | 455 |
| |
443 | 456 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
340 | 340 |
| |
341 | 341 |
| |
342 | 342 |
| |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
343 | 347 |
| |
344 | 348 |
| |
345 | 349 |
| |
|
0 commit comments
Comments
(0)