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?.
6 rows affected
ts | w |
---|---|
2020-07-27 16:40:04.045+01 | t |
2020-07-27 16:41:04.045+01 | t |
2020-07-27 16:42:04.045+01 | f |
2020-07-27 16:43:04.045+01 | t |
2020-07-27 16:44:04.045+01 | t |
2020-07-27 16:45:04.045+01 | t |
ddur |
---|
180 |
ddur |
---|
-60 |
ddur |
---|
60 |
ddur |
---|
-420 |
ddur |
---|
180 |