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 FUNCTION
CREATE FUNCTION
CREATE TABLE
INSERT 0 1
qux |
---|
[{"a": 1, "b:": 2}, {"a": 3, "b": 4}, {"a": 5, "b_": 6}] |
SELECT 1
id | data |
---|---|
1 | {"foo": {"bar": {"baz": {"qux": [{"a": 1, "b": 2}, {"a": 3, "b": 4}, {"a": 5, "b": 6}]}}}} |
UPDATE 1