forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit81166a2
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 parent985bd7d commit81166a2
1 file changed
+10
-3
lines changedLines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13126 | 13126 |
| |
13127 | 13127 |
| |
13128 | 13128 |
| |
13129 |
| - | |
| 13129 | + | |
| 13130 | + | |
13130 | 13131 |
| |
13131 | 13132 |
| |
13132 | 13133 |
| |
| |||
13144 | 13145 |
| |
13145 | 13146 |
| |
13146 | 13147 |
| |
13147 |
| - | |
13148 |
| - | |
| 13148 | + | |
| 13149 | + | |
| 13150 | + | |
| 13151 | + | |
| 13152 | + | |
| 13153 | + | |
| 13154 | + | |
13149 | 13155 |
| |
13150 | 13156 |
| |
13151 | 13157 |
| |
13152 | 13158 |
| |
13153 | 13159 |
| |
| 13160 | + | |
13154 | 13161 |
| |
13155 | 13162 |
| |
13156 | 13163 |
| |
|
0 commit comments
Comments
(0)