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?.
jsonb_agg |
---|
[["sun11", "sun12"], ["sun12", "sun13"], ["sun14", "sun15"]] |
SELECT 1
jsondata |
---|
[{"more": "fields", "name": ["sun11", "sun12"], "alignment": "center"}, {"name": ["sun12", "sun13"], "alignment": "center"}, {"name": ["sun14", "sun15"]}] |
SELECT 1
value |
---|
{"more": "fields", "name": ["sun11", "sun12"], "alignment": "center"} |
{"name": ["sun12", "sun13"], "alignment": "center"} |
{"name": ["sun14", "sun15"]} |
SELECT 3
?column? |
---|
["sun11", "sun12"] |
["sun12", "sun13"] |
["sun14", "sun15"] |
SELECT 3