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?.
eq1 | eq2 | eq3 |
---|---|---|
t | t | t |
SELECT 1
stringexpression | base_test | test1 | test2 | coalesce1 | coalesce2 | coalesce3 |
---|---|---|---|---|---|---|
foo | f | f | f | f | f | f |
t | t | t | t | t | t | |
t | t | t | t | t | t | |
null | null | t | t | t | t | t |
SELECT 4
stringexpression | base_test | test1 | test2 | coalesce1 | coalesce2 | coalesce3 |
---|---|---|---|---|---|---|
foo | f | f | f | f | f | f |
t | t | t | t | f | f | |
f | f | f | f | f | f | |
null | null | t | t | t | t | f |
SELECT 4