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?.
test_insert |
---|
Saved |
id | gid | device_id | item | vat_percentage | vat_sum | price |
---|---|---|---|---|---|---|
1 | 1 | 000-111 | Test-P | 20 | 20 | 100 |
2 | 1 | 000-111 | Test-F | 20 | 10 | 100 |