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
priority | productive | unproductive | neutral |
---|---|---|---|
High | {1,2} | {} | {4,5} |
Medium | {3,4} | {5,7} | {2} |
Low | {1} | {2,6} | {} |
case | array_agg |
---|---|
Productive | {1,2,3} |
UnProductive | {7,6} |
Neutral | {4,5} |