- Notifications
You must be signed in to change notification settings - Fork5
Commit8ab4a6b
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 parentf12e814 commit8ab4a6b
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 | |
---|---|---|---|
| |||
14772 | 14772 |
| |
14773 | 14773 |
| |
14774 | 14774 |
| |
14775 |
| - | |
14776 |
| - | |
| 14775 | + | |
| 14776 | + | |
14777 | 14777 |
| |
14778 | 14778 |
| |
14779 | 14779 |
| |
|
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)