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?.
6 rows affected
2 rows affected
id | sellingnr | rgnr | correction_rg |
---|---|---|---|
1 | 1 | 0 | null |
2 | 2 | 1 | null |
3 | 3 | 2 | null |
4 | 4 | null | null |
5 | 2 | null | t |
6 | 3 | null | t |