forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb965f26
committed
Do not dump identity sequences with excluded parent table
This commit prevents a crash of pg_dump caused by the exclusion of atable which has identity columns, as the table would be correctlyexcluded but not its identity sequence. In order to fix that, identitysequences are excluded if the parent table is defined as such. Knowingabout such sequences has no meaning without their parent table anyway.Reported-by: Andy AbelistoAuthor: David RowleyReviewed-by: Peter Eisentraut, Michael PaquierDiscussion:https://postgr.es/m/153479393218.1316.8472285660264976457@wrigleys.postgresql.orgBackpatch-through: 101 parent98abc73 commitb965f26
1 file changed
+14
-2
lines changedLines changed: 14 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6636 | 6636 |
| |
6637 | 6637 |
| |
6638 | 6638 |
| |
6639 |
| - | |
6640 |
| - | |
| 6639 | + | |
| 6640 | + | |
| 6641 | + | |
| 6642 | + | |
| 6643 | + | |
| 6644 | + | |
| 6645 | + | |
| 6646 | + | |
| 6647 | + | |
| 6648 | + | |
| 6649 | + | |
| 6650 | + | |
| 6651 | + | |
| 6652 | + | |
6641 | 6653 |
| |
6642 | 6654 |
| |
6643 | 6655 |
| |
|
0 commit comments
Comments
(0)