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?.
9 rows affected
pname | in1 | unnest |
---|---|---|
a | 1 | 1 |
b | 2 | 2 |
b | 2 | 3 |
c | 4 | 4 |
c | 4 | 5 |
c | 4 | 6 |
d | 7 | 7 |
d | 7 | 8 |
d | 7 | 9 |
d | 7 | 10 |
e | 11 | 11 |
f | 12 | 12 |
g | null | null |
g | null | 666 |
h | null | null |
i | null | null |