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?.
1 rows affected
1 rows affected
1 rows affected
1 rows affected
id | unique_identifiers_id | chain_data_name | carriage | left_id | right_id |
---|---|---|---|---|---|
10 | 8 | dddd_2 | t | 22 | null |
22 | 8 | shuba | f | 23 | 10 |
24 | 8 | viktor | f | null | 23 |
23 | 8 | ivan | f | 24 | 22 |
id | right_id |
---|---|
24 | 23 |
23 | 22 |
22 | 10 |
10 | null |
string_agg |
---|
24, 23, 22, 10 |