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
1 rows affected
1 rows affected
1 rows affected
1 rows affected
order_table_id | date | is_done_is_ | started | table_number |
---|---|---|---|---|
2 | 2019-11-15 21:01:51 | 0 | 1 | 1 |
3 | 2019-11-15 21:02:32 | 0 | 1 | 2 |
4 | 2019-11-15 21:02:39 | 0 | 0 | 3 |
10 | 2019-11-16 21:02:46 | 1 | 0 | 4 |