forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5734eb2
committed
Properly dump dropped foreign table cols in binary-upgrade mode.
In binary upgrade mode, we need to recreate and then drop droppedcolumns so that all the columns get the right attribute number. This istrue for foreign tables as well as for native tables. For foreigntables we have been getting the first part right but not the second,leading to bogus columns in the upgraded database. Fix this all the wayback to 9.1, where foreign tables were introduced.1 parentbee4a4d commit5734eb2
1 file changed
+9
-3
lines changedLines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12595 | 12595 |
| |
12596 | 12596 |
| |
12597 | 12597 |
| |
12598 |
| - | |
| 12598 | + | |
| 12599 | + | |
12599 | 12600 |
| |
12600 | 12601 |
| |
12601 | 12602 |
| |
| |||
12613 | 12614 |
| |
12614 | 12615 |
| |
12615 | 12616 |
| |
12616 |
| - | |
12617 |
| - | |
| 12617 | + | |
| 12618 | + | |
| 12619 | + | |
| 12620 | + | |
| 12621 | + | |
| 12622 | + | |
| 12623 | + | |
12618 | 12624 |
| |
12619 | 12625 |
| |
12620 | 12626 |
| |
|
0 commit comments
Comments
(0)