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?.
4 rows affected
4 rows affected
a | b | c |
---|---|---|
1 | 2 | 3 |
10 | 11 | 12 |
a | b | c | t1 | t2 |
---|---|---|---|---|
1 | 2 | 3 | t1 | null |
13 | 14 | null | t1 | null |
10 | 11 | 12 | null | t2 |
13 | 14 | null | null | t2 |