[Tile-serving] [osm2pgsql-dev/osm2pgsql] Flush and sync COPYs after nodes, ways, and relations in flex output (PR #2186)

Jochen Topf notifications at github.com
Mon May 20 07:36:03 UTC 2024


Most output tables are only filled by either nodes or ways or relations. So it makes sense to close COPY operations after the last node/way/relation was found. Before this change active COPY operations could sometimes be open for a long time.
You can view, comment on, or merge this pull request online at:

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2186

-- Commit Summary --

  * Flush and sync COPYs after nodes, ways, and relations in flex output

-- File Changes --

    M src/osmdata.cpp (1)
    M src/output-flex.cpp (21)
    M src/output-flex.hpp (1)
    M src/output.hpp (1)

-- Patch Links --

https://github.com/osm2pgsql-dev/osm2pgsql/pull/2186.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2186.diff

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

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2186 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240520/7ea9fdf0/attachment.htm>


More information about the Tile-serving mailing list