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 2
ERROR:  UNION types timestamp without time zone and text cannot be matched
id ts txt id ts
1 2020-09-02 01:21:00 null 1 2020-09-02 01:21:00
2 null null 2 null
UPDATE 2
ERROR:  UNION types timestamp without time zone and text cannot be matched
LINE 5: SELECT 1, '2020-09-01 01:21'
                  ^
id ts txt
1 2020-09-03 01:21:00 null
2 null null
UPDATE 2
id ts txt
1 2020-09-04 01:11:00 null
2 null null
UPDATE 2
id ts txt
1 2020-09-04 02:22:00 null
2 null null
UPDATE 2
id ts txt
1 2020-09-05 01:11:00 null
2 null null
UPDATE 2
id ts txt
1 2020-09-05 02:22:00 null
2 null null
UPDATE 2
id ts txt
1 2020-09-06 01:21:00 null
2 null null
UPDATE 2