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?.
CREATE TABLE
INSERT 0 1
SELECT 7
st_astext |
---|
POINT(-4.7 54.09) |
POINT(-4.71 54.12) |
POINT(-4.68 54.13) |
POINT(-4.67 54.14) |
POINT(-4.63 54.18) |
POINT(-4.53 54.21) |
POINT(-4.59 54.24) |
SELECT 7
st_astext |
---|
POINT(-4.71 54.12) |
POINT(-4.68 54.13) |
POINT(-4.67 54.14) |
POINT(-4.63 54.18) |
POINT(-4.53 54.21) |
SELECT 5