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?.
constraint_catalog | constraint_schema | constraint_name | table_catalog | table_schema | table_name | constraint_type | is_deferrable | initially_deferred | enforced |
---|---|---|---|---|---|---|---|---|---|
db_505247347 | public | table_a_b_a_id_fkey | db_505247347 | public | table_a_b | FOREIGN KEY | NO | NO | YES |
db_505247347 | public | table_a_b_b_id_fkey | db_505247347 | public | table_a_b | FOREIGN KEY | NO | NO | YES |