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?.
2 rows affected
7 rows affected
2 rows affected
2 rows affected
8 rows affected
name | arrive_date | depart_date | array_agg | array_agg |
---|---|---|---|---|
Akaroa, New Zealand | 2018-11-10 08:00:00 | 2018-11-10 18:00:00 | {1} | {326} |
Dunedin, New Zealand | 2018-11-09 08:00:00 | 2018-11-09 18:00:00 | {1,2} | {451,451} |
Hobart, Tasmania, Australia | 2018-11-01 07:00:00 | 2018-11-01 17:00:00 | {1} | {167} |
Melbourne, Australia | 2018-11-03 08:00:00 | 2018-11-03 18:00:00 | {1} | {640} |
Sydney, Australia | 2018-11-05 06:00:00 | 2018-11-05 18:00:00 | {1} | {372} |
Tauranga (Rotorua), New Zealand | 2018-11-13 07:00:00 | 2018-11-13 18:00:00 | {1} | {657} |
Wellington, New Zealand | 2018-11-11 08:00:00 | 2018-11-11 18:00:00 | {1} | {168} |