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?.
3 rows affected
8 rows affected
id | some_field | a | b | c | d | min_ts |
---|---|---|---|---|---|---|
3 | val3 | 2 | 0 | 1 | 1 | 2004-10-19 10:23:54 |
1 | val1 | 1 | 0 | 1 | 0 | 2002-10-19 10:23:54 |