[Tile-serving] [openstreetmap/osm2pgsql] middle-pgsql: be less eager with ending copy mode (#891)

Sarah Hoffmann notifications at github.com
Sun Dec 16 21:14:42 UTC 2018


#889 moved the end of copy for middle tables away from query functions but did so a little bit to eagerly. The result is that copy mode is never used for ways and relations. This changes the behaviour to only throw tables out of copy mode that may actually be used by the OSM type next being read. 
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * middle-pgsql: be less eager with ending copy mode

-- File Changes --

    M middle-pgsql.cpp (16)
    M middle-pgsql.hpp (2)
    M middle-ram.hpp (2)
    M middle.hpp (2)
    M osmdata.cpp (4)
    M osmdata.hpp (2)
    M parse-osmium.cpp (6)
    M tests/mockups.hpp (4)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/891
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20181216/5b8bc534/attachment.html>


More information about the Tile-serving mailing list