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
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
id | arr_values | arr_pk_id |
---|---|---|
1 | {A,B,C} | {1,2,3} |
1 | {A,B,E} | {1,2,5} |
1 | {A,B,G} | {1,2,7} |
1 | {A,F,C} | {1,6,3} |
1 | {A,F,E} | {1,6,5} |
1 | {A,F,G} | {1,6,7} |
1 | {D,B,C} | {4,2,3} |
1 | {D,B,E} | {4,2,5} |
1 | {D,B,G} | {4,2,7} |
1 | {D,F,C} | {4,6,3} |
1 | {D,F,E} | {4,6,5} |
1 | {D,F,G} | {4,6,7} |
2 | {H,I} | {8,9} |
2 | {J,I} | {10,9} |