- Notifications
You must be signed in to change notification settings - Fork5
Commit683abc7
committed
Ignore invalid indexes in pg_dump.
Dumping invalid indexes can cause problems at restore time, for exampleif the reason the index creation failed was because it tried to enforcea uniqueness condition not satisfied by the table's data. Also, if theindex creation is in fact still in progress, it seems reasonable toconsider it to be an uncommitted DDL change, which pg_dump wouldn't beexpected to dump anyway.Back-patch to all active versions, and teach them to ignore invalidindexes in servers back to 8.2, where the concept was introduced.Michael Paquier1 parent625b237 commit683abc7
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4920 | 4920 |
| |
4921 | 4921 |
| |
4922 | 4922 |
| |
| 4923 | + | |
4923 | 4924 |
| |
4924 | 4925 |
| |
4925 | 4926 |
| |
| |||
4949 | 4950 |
| |
4950 | 4951 |
| |
4951 | 4952 |
| |
| 4953 | + | |
4952 | 4954 |
| |
4953 | 4955 |
| |
4954 | 4956 |
| |
|
0 commit comments
Comments
(0)