By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Help with an interesting Postgres question: Why isn't an Index Only Scan used on a partition accessed via the parent table?.
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
id | sku | fee | id | sku_id | old_fee | new_fee |
---|---|---|---|---|---|---|
1 | ASC | 2 | 3 | 1 | 4 | 2.5 |
1 | ASC | 2 | 2 | 1 | 3 | 4 |
2 | CF2 | 3.6 | 5 | 2 | 4 | 1 |
2 | CF2 | 3.6 | 4 | 2 | 3 | 4 |
3 | RTG | 1.2 | 10 | 3 | 0.5 | 1 |
3 | RTG | 1.2 | 9 | 3 | 2 | 0.5 |
4 | VHN5 | 3 | null | null | null | null |