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?.
9 rows affected
fid | time | difference_between_times |
---|---|---|
1 | 85 | null |
1 | 100 | 15 |
2 | 92 | null |
2 | 99 | 7 |
3 | 67 | null |
3 | 88 | 21 |
3 | 100 | 12 |
4 | 50 | null |
4 | 50 | 0 |