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?.
4 rows affected
cfirstname | ddob | date1 | date2 |
---|---|---|---|
Joe | 1990-12-02 | 2018-12-02 00:00:00 | 2019-12-02 00:00:00 |
John | 1972-01-12 | 2019-01-12 00:00:00 | 2020-01-12 00:00:00 |