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?.
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
id | name | total |
---|---|---|
3 | FILE_NOT_FOUND | 1 |
5 | PASSWORD_PROTECTED | 2 |
3 | UNKNOWN | 2 |
id | overall_total | totals |
---|---|---|
3 | 3 | [{"type": "FILE_NOT_FOUND", "count": 1}, {"type": "UNKNOWN", "count": 2}] |
5 | 2 | [{"type": "PASSWORD_PROTECTED", "count": 2}] |