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?.
3 rows affected
gid | polygon | geolocation |
---|---|---|
1 | LINESTRING (30 10, 10 30, 40 40) | 0103000020E610000000000000 |
2 | POINT (30 10) | 0103000020E610000000000000 |
3 | LINESTRING (30 10, 10 30, 40 40, 30 10) | 0103000020E610000001000000040000000000000000003E40000000000000244000000000000024400000000000003E40000000000000444000000000000044400000000000003E400000000000002440 |