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?.
date_trunc | count |
---|---|
2020-02-01 00:00:00+00 | 0 |
2020-03-01 00:00:00+00 | 1 |
2020-04-01 00:00:00+01 | 2 |
2020-05-01 00:00:00+01 | 2 |
2020-06-01 00:00:00+01 | 2 |