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?.
2 rows affected
word | rn |
---|---|
I | 1 |
think | 2 |
Postgres | 3 |
is | 4 |
nifty | 5 |
ctid | word | rn |
---|---|---|
(0,1) | I | 1 |
(0,1) | think | 2 |
(0,1) | Postgres | 3 |
(0,1) | is | 4 |
(0,1) | nifty | 5 |
(0,2) | And | 1 |
(0,2) | it | 2 |
(0,2) | keeps | 3 |
(0,2) | getting | 4 |
(0,2) | better | 5 |
word | rn |
---|---|
I | 1 |
think | 2 |
Postgres | 3 |
is | 4 |
nifty | 5 |
And | 1 |
it | 2 |
keeps | 3 |
getting | 4 |
better | 5 |