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?.
4 rows affected
tbl_id | data |
---|---|
1 | {"name": "foo", "tags": ["foo", "bar"]} |
2 | {"name": "empty", "tags": [null]} |
3 | {"name": "empty", "tags": []} |
4 | {"name": "none"} |
tbl_id | list |
---|---|
1 | foo, bar |
2 | null |
3 | null |
4 | null |
tbl_id | list |
---|---|
1 | foo, bar |
2 | null |
3 | null |
4 | null |
tbl_id | txt_arr |
---|---|
1 | {foo,bar} |
2 | {NULL} |
3 | {} |
4 | {} |
tbl_id | txt_arr |
---|---|
1 | {foo,bar} |
2 | {NULL} |
3 | {} |
4 | {} |
tbl_id | list |
---|---|
1 | "foo", "bar" |
2 | null |
tbl_id | txt_arr |
---|---|
1 | {""foo"",""bar""} |
2 | {"null"} |
3 | {} |
4 | {} |
tbl_id | list |
---|---|
1 | foo, bar |
2 | null |
list |
---|
foo, bar |
tbl_id | list |
---|---|
1 | foo, bar |
2 | null |
3 | null |
4 | null |
tbl_id | txt_arr |
---|---|
1 | {foo,bar} |
2 | {"null"} |
3 | {} |
4 | {} |