add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
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?.
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
effective_from archived cal
2020-01-12 00:00:00 2020-01-13 00:00:00 3.7
2020-01-13 00:00:00 2020-01-14 00:00:00 4.2
2020-01-14 00:00:00 2020-01-15 00:00:00 7.2
2020-01-13 00:00:00 2020-01-15 00:00:00 8.6
2020-01-15 00:00:00 2020-01-16 00:00:00 7.2
2020-01-16 00:00:00 2020-01-17 00:00:00 11.2
2020-01-17 00:00:00 2020-01-18 00:00:00 13.6
2020-01-13 00:00:00 2020-01-19 00:00:00 42.2
2020-01-19 00:00:00 2020-01-20 00:00:00 12.3
effective_from archived cal
2020-01-12 00:00:00 2020-01-13 00:00:00 3.7
2020-01-13 00:00:00 2020-01-19 00:00:00 42.2
2020-01-19 00:00:00 2020-01-20 00:00:00 12.3