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?.
2 rows affected
trace |
---|
[["a", "b"], ["c", "d", "e"]] |
[["e", "f", "g"], ["h", "i"]] |
trace | val | number |
---|---|---|
[["a", "b"], ["c", "d", "e"]] | ["a", "b"] | 1 |
[["a", "b"], ["c", "d", "e"]] | ["c", "d", "e"] | 2 |
[["e", "f", "g"], ["h", "i"]] | ["e", "f", "g"] | 1 |
[["e", "f", "g"], ["h", "i"]] | ["h", "i"] | 2 |
trace | string_agg |
---|---|
[["a", "b"], ["c", "d", "e"]] | a.b c.d.e |
[["e", "f", "g"], ["h", "i"]] | e.f.g h.i |