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?.
dt | dt_minus_7days | dt_plus_7days | dt_minus_7monate | dt_plus_7monate | dt_minus_7jahre | dt_plus_7jahre |
---|---|---|---|---|---|---|
1981-06-09 | 1981-06-02 | 1981-06-16 | 1980-11-09 | 1982-01-09 | 1974-06-09 | 1988-06-09 |