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 | value | note | group_id |
---|---|---|---|
1 | 12.000 | note 12 | 1 |
2 | 13.000 | note 13 | 1 |
3 | 14.000 | note 14 | 1 |
4 | 15.000 | note 15 | 1 |
4 rows affected
id | value | note | group_id |
---|---|---|---|
1 | 12.000 | note 12 | 1 |
2 | 13.000 | note 13 | 1 |
3 | 14.000 | note 14 | 1 |
4 | 15.000 | note 15 | 1 |
5 | 112.000 | note 112 | 2 |
6 | 113.000 | note 113 | 2 |
7 | 114.000 | note 114 | 2 |
8 | 115.000 | note 115 | 2 |