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?.
SELECT 4
SELECT 4
id | description | target_table | id | description | target_table |
---|
SELECT 0
id | description | target_table |
---|---|---|
1 | select test.fn_hierarchy_prod_group | dba.l |
2 | select run_update_query | dba.j |
3 | select func_datad_addr_1 | dba.n |
4 | select func_datad_addr | dba.n |
SELECT 4