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?.
6 rows affected
a | b | c | num_not_null |
---|---|---|---|
x | y | z | 3 |
p | q | null | 2 |
s | null | t | 2 |
null | c | e | 2 |
null | f | null | 1 |
null | null | null | 0 |