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
id created_at name status
1 2023-10-07 18:06:55.9 Right before custom October start Active
2 2023-10-07 18:06:56.01 Right after custom October start Blocked
3 2022-11-03 17:53:38.894278 a5b4172 Blocked
4 2022-10-03 14:52:14.827078 2bfc05d9-25f4- Active
INSERT 0 4
created_at Active Blocked
2022-09-07 18:06:56 1 0
2022-10-07 18:06:56 0 1
2023-09-07 18:06:56 1 0
2023-10-07 18:06:56 0 1
SELECT 4