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?.
7 rows affected
id | initial_timestamp | recurring | match_date |
---|---|---|---|
11 | 2020-05-02 00:00:00 | 2 days | 2020-06-07 |
14 | 2020-06-01 00:00:00 | 1 day | 2020-06-07 |
12 | 2020-05-02 00:00:00 | 30 days | 2020-07-01 |
24 | 2020-06-03 00:00:00 | 10 days | 2020-07-13 |
27 | 2020-06-02 00:00:00 | 21 days | null |
13 | 2020-05-01 00:00:00 | 13 days | 2020-10-17 |