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?.
id | value | date |
---|---|---|
1 | Task A | 2020-02-05 00:00:00 |
2 | Task B | 2020-02-15 00:00:00 |
SELECT 2
value_b | value_a |
---|---|
Task A | Value 2 |
Task B | Value 3 |
SELECT 2