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?.
4 rows affected
id foo_value foo_date next_date
234534 100 2017-01-01 2017-01-01 00:00:00
234534 200 2017-01-02 2017-01-02 00:00:00
234534 300 2017-01-03 2017-01-07 00:00:00
234534 300 2017-01-04 2017-01-07 00:00:00
234534 300 2017-01-05 2017-01-07 00:00:00
234534 300 2017-01-06 2017-01-07 00:00:00
234534 300 2017-01-07 2017-01-07 00:00:00
234534 180 2017-01-08 2017-01-07 00:00:00
id foo_value dte
234534 100 2017-01-01 00:00:00
234534 200 2017-01-02 00:00:00
234534 300 2017-01-03 00:00:00
234534 300 2017-01-04 00:00:00
234534 300 2017-01-05 00:00:00
234534 300 2017-01-06 00:00:00
234534 300 2017-01-07 00:00:00
234534 180 2017-01-08 00:00:00