"Going over pending.." phase amongst others executes a SELECT id FROM
planet_osm_ways WHERE pending; which seems to require a seq_scan on planet_osm_ways.
Can this not be fixed by just creating an index on pending?
P.S. there does seem to be an index on "pending" but trying to run some
queries from psql, it didn't seem to be used.