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?.
CREATE TABLE
INSERT 0 3
UPDATE 2
supplierid | content | operation_type |
---|---|---|
3 | {"key3": "value3", "supplier": "s3"} | NON-DEL |
1 | {"key2": "value2", "supplier": 1} | DEL |
2 | {"key3": "value3", "supplier": 2} | DEL |
SELECT 3