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?.
4 rows affected
?column? | raw |
---|---|
CREATE TABLE tbl (col1 bool, col2 bool, col3 bool, col4 bool) | 1 2 3 4 |
?column? |
---|
CREATE TABLE tbl(col1 bool, col2 bool, col3 bool, col4 bool) |
3 rows affected
col1 | col2 | col3 | col4 |
---|---|---|---|
t | t | f | t |
t | f | f | t |
t | f | t | t |