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
CREATE TABLE
CREATE TABLE
CREATE TABLE
INSERT 0 2
INSERT 0 2
id height max_load
1 5 100
2 10 200
3 20 300
4 30 400
SELECT 4
id height max_load color
1 5 100 blue
2 10 200 porange
SELECT 2
id height max_load shape
3 20 300 round
4 30 400 square
SELECT 2
INSERT 0 2
support_id id height max_load
1 1 5 100
3 3 20 300
SELECT 2
support_id id height max_load color
1 1 5 100 blue
SELECT 1