- Notifications
You must be signed in to change notification settings - Fork28
Commit040da42
Enable failure to rename a partitioned index
Concurrently with partitioned index development (commit8b08f7d),the code to handle failure to rename indexes was refactored (commit8b9e964). Turns out that that particular case was untested, whichnaturally led it to be broken. Add tests and the missing code line.Co-authored-by: David Rowley <dgrowley@gmail.com>Co-authored-by: Álvaro Herrera <alvherre@alvh.no-ip.org>Reported-by: Rajkumar Raghuwanshi <rajkumar.raghuwanshi@enterprisedb.com>Discussion:https://postgr.es/m/CAKcux6mfYMS3OX0ywjOiWiGSEKhJf-1zdeTceHFbd0mScUzU5A@mail.gmail.com1 parentbbbbc2f commit040da42
File tree
5 files changed
+48
-2
lines changed- src
- backend/catalog
- test/regress
- expected
- sql
5 files changed
+48
-2
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5248 | 5248 |
| |
5249 | 5249 |
| |
5250 | 5250 |
| |
| 5251 | + | |
5251 | 5252 |
| |
5252 | 5253 |
| |
5253 | 5254 |
| |
|
Lines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
159 | 159 |
| |
160 | 160 |
| |
161 | 161 |
| |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
162 | 180 |
| |
163 | 181 |
| |
164 | 182 |
| |
|
Lines changed: 9 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 |
| |
23 | 26 |
| |
24 | 27 |
| |
| |||
368 | 371 |
| |
369 | 372 |
| |
370 | 373 |
| |
| 374 | + | |
371 | 375 |
| |
| 376 | + | |
372 | 377 |
| |
373 | 378 |
| |
374 | 379 |
| |
| |||
444 | 449 |
| |
445 | 450 |
| |
446 | 451 |
| |
| 452 | + | |
| 453 | + | |
447 | 454 |
| |
448 | 455 |
| |
449 | 456 |
| |
| |||
478 | 485 |
| |
479 | 486 |
| |
480 | 487 |
| |
481 |
| - | |
| 488 | + | |
482 | 489 |
| |
483 | 490 |
| |
484 | 491 |
| |
| |||
489 | 496 |
| |
490 | 497 |
| |
491 | 498 |
| |
492 |
| - | |
| 499 | + | |
493 | 500 |
| |
494 | 501 |
|
Lines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
191 | 191 |
| |
192 | 192 |
| |
193 | 193 |
| |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
194 | 209 |
| |
195 | 210 |
| |
196 | 211 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 |
| |
26 | 29 |
| |
27 | 30 |
| |
| |||
138 | 141 |
| |
139 | 142 |
| |
140 | 143 |
| |
| 144 | + | |
141 | 145 |
| |
| 146 | + | |
142 | 147 |
| |
143 | 148 |
| |
144 | 149 |
| |
|
0 commit comments
Comments
(0)