[Tile-serving] [openstreetmap/osm2pgsql] Flush COPY between nodes/ways and ways/relations respectively (PR #1904)

Jochen Topf notifications at github.com
Tue Feb 7 13:25:44 UTC 2023


In most cases database tables are filled based on OSM object types, so after we have read all nodes nothing will be added to node-type tables any more etc. So it makes sense to explicitly flush the COPY making sure this data is written to the database. If more data is later added, maybe because of second-stage processing, it doesn't matter, the COPY will be reopened.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1904

-- Commit Summary --

  * Flush COPY between nodes/ways and ways/relations respectively

-- File Changes --

    M src/osmdata.cpp (12)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1904.patch
https://github.com/openstreetmap/osm2pgsql/pull/1904.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1904
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/1904 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230207/92fbb36d/attachment.htm>


More information about the Tile-serving mailing list