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?.
CREATE TABLE
INSERT 0 6
ALTER TABLE
UPDATE 6
ALTER TABLE
sn vin1 vin2 vin3 ts
4as11111111 447.42 472.32 682.59 2018-01-01 07:06:18
4as11111111 455.97 476.25 682.59 2018-01-01 07:06:43
4as11111111 470.88 484.2 682.5 2018-01-01 07:07:35
4as11111111 570.88 584.2 782.5 2018-01-01 07:27:35
4as11111111 570.88 584.2 782.5 2018-01-01 07:27:35
4as11111111 570.88 584.2 782.5 2018-01-01 07:27:35
SELECT 6
sn ts vin1_av vin2_av vin3_av
4as11111111 2018-01-01 07:06:18 458.09 477.59 682.56
4as11111111 2018-01-01 07:11:18 null null null
4as11111111 2018-01-01 07:16:18 null null null
4as11111111 2018-01-01 07:21:18 null null null
4as11111111 2018-01-01 07:26:18 570.88 584.20 782.50
SELECT 5