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 5
id session_os
641 1
641 2
642 null
642 2
643 null
SELECT 5
id session_os a
641 1 1
642 null null
643 null null
SELECT 3
id
641
642
643
SELECT 3
id array_agg
641 {1,2}
642 {NULL,2}
643 {NULL}
SELECT 3