osm2pgsql 0.88.1 has been released with some backported fixes. The main one was a condition where duplicate objects could appear in tables when doing multi-threaded updates and events happened in precisely the right order in the diff and the threads executed PostgreSQL commands for the same object at the same time.

Even in a reduced testcase designed to trigger this behavior, it still didn't happen all the time. The bug was present from approximately 0.87.0 to 0.88.0.

As a side effect of the bug-fix, osm2pgsql should do substantially less work for complex multipolygons modified multiple times in one diff.

The other fixes are a compiler error fix and updates to the documentation to account for planet size growth.

Updating from 0.86.0 or earlier to 0.88.1 is strongly recommended. There are bugs in 0.86.0 which have been fixed in the last year of development.

If you are using a version before 0.84.0, please, please, upgrade. https://github.com/openstreetmap/osm2pgsql/issues/67 has been fixed for two years, but it is still encountered in the wild.

I am seeking input from developers experienced with with cmake and Windows for https://github.com/openstreetmap/osm2pgsql/issues/417, for some estimate of the difficulty involved.

_______________________________________________
dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/dev

Reply via email to