Commit 2a9cadd
Fix: Temp table indexes with name starting without '#' do not follow rollback semantics (#626)
* Fix: Temp table indexes with name starting without '#' do not follow
rollback semantics
We use the is_bbf_temp_table flag in ENR metadata for transaction
behaviour. Currently, we only mark this flag as true if the relname
starts with '#', however all indexes on ENR temp tables should be have
this flag set.
We are refactoring the register_ENR function and marking this flag early
rather than in this method
Signed-off-by: Ayush Shah <ayushdsh@amazon.com>1 parent 6001175 commit 2a9cadd
5 files changed
Lines changed: 30 additions & 4 deletions
File tree
- src
- backend
- catalog
- executor
- utils/misc
- include/utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1412 | 1412 | | |
1413 | 1413 | | |
1414 | 1414 | | |
| 1415 | + | |
1415 | 1416 | | |
1416 | 1417 | | |
1417 | 1418 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1016 | 1016 | | |
1017 | 1017 | | |
1018 | 1018 | | |
| 1019 | + | |
1019 | 1020 | | |
1020 | 1021 | | |
1021 | 1022 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3430 | 3430 | | |
3431 | 3431 | | |
3432 | 3432 | | |
| 3433 | + | |
3433 | 3434 | | |
3434 | 3435 | | |
3435 | 3436 | | |
| |||
3447 | 3448 | | |
3448 | 3449 | | |
3449 | 3450 | | |
| 3451 | + | |
3450 | 3452 | | |
3451 | 3453 | | |
3452 | 3454 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
219 | 239 | | |
220 | 240 | | |
221 | 241 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| |||
0 commit comments