forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf22e17f
committed
Don't try to fix eliminated nbtree array scan keys.
Preprocessing for nbtree index scans allowed array "input" scan keysalready marked eliminated during array-specific preprocessing to be"fixed up" during preprocessing proper. This allowed eliminated scankeys on DESC index columns to spurious have their strategy commuted,causing assertion failures.To fix, teach _bt_fix_scankey_strategy to ignore these scan keys. Thisbrings it in line with its only caller, _bt_preprocess_keys.Oversight in commit5bf748b, which enhanced nbtree ScalarArrayOpexecution.Reported-By: Donghang Lin <donghanglin@gmail.com>Discussion:https://postgr.es/m/CAA=D8a2sHK6CAzZ=0CeafC-Y-MFXbYxnRSHvZTi=+JHu6kAa8Q@mail.gmail.com1 parent9e72f6b commitf22e17f
1 file changed
+7
-0
lines changedLines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3394 | 3394 |
| |
3395 | 3395 |
| |
3396 | 3396 |
| |
| 3397 | + | |
| 3398 | + | |
| 3399 | + | |
| 3400 | + | |
| 3401 | + | |
| 3402 | + | |
| 3403 | + | |
3397 | 3404 |
| |
3398 | 3405 |
| |
3399 | 3406 |
| |
|
0 commit comments
Comments
(0)