forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf4428cc
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 parent40ce24c commitf4428cc
1 file changed
+2
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4028 | 4028 |
| |
4029 | 4029 |
| |
4030 | 4030 |
| |
| 4031 | + | |
4031 | 4032 |
| |
4032 | 4033 |
| |
4033 | 4034 |
| |
| |||
4056 | 4057 |
| |
4057 | 4058 |
| |
4058 | 4059 |
| |
| 4060 | + | |
4059 | 4061 |
| |
4060 | 4062 |
| |
4061 | 4063 |
| |
|
0 commit comments
Comments
(0)