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 1
jsonitem |
---|
{ "3" : "foo", "2" : "bar", "1" : "qux" } |
SELECT 1
jsonitem |
---|
{"1": "qux", "2": "bar", "3": "foo"} |
SELECT 1