osm2pgsql
osm2pgsql copied to clipboard
Add max_id optimization to output tables
In the pgsql middle we get the maximum id used for all of the tables when updating. Then we know that we don't need to DELETE any objects with an id larger than this.
This optimization should also be done on all the output tables.