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
4 rows affected
id | name | coalesce |
---|---|---|
1 | john | 30 |
2 | dave | 35 |
3 | mike | 40 |
4 | lily | 0 |
5 | cobe | 29 |
6 | rose | 0 |