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?.
21 rows affected
id | device_id | fuel | fillup | tank |
---|---|---|---|---|
21 | 19 | 90 | f | 0 |
20 | 19 | 96 | f | 0 |
19 | 19 | 97 | f | 0 |
18 | 19 | 99 | f | 0 |
17 | 19 | 100 | f | 0 |
16 | 19 | 98 | f | 0 |
15 | 19 | 99 | f | 0 |
14 | 19 | 100 | f | 0 |