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?.
SELECT 12
start_month | count | month_1 | month_2 |
---|---|---|---|
2019-10 | 4 | 3 | 2 |
2019-11 | 4 | 3 | 1 |
2019-12 | 4 | 3 | 2 |
SELECT 3