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?.
1 rows affected
2 rows affected
task_id | assignee | date_from | date_to |
---|---|---|---|
tsk1 | me | 2000-01-01 | 2017-04-06 |
tsk1 | you | 2017-04-06 | 2017-04-08 |
tsk1 | him | 2017-04-08 | 2018-01-03 |