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
id | geom |
---|---|
1 | [1,4) |
2 | [5,8) |
3 | [9,13) |
4 | [100,131) |
3 rows affected
id | geom |
---|---|
1 | [2,5) |
2 | [4,7) |
3 | [6,12) |
id | geom | id | geom | ?column? |
---|---|---|---|---|
1 | [1,4) | 1 | [2,5) | [1,5) |
2 | [5,8) | 2 | [4,7) | [4,8) |
2 | [5,8) | 3 | [6,12) | [5,12) |
3 | [9,13) | 3 | [6,12) | [6,13) |
id | ?column? |
---|---|
1 | [1,5) |
2 | [4,8) |
2 | [5,12) |