[Tile-serving] [openstreetmap/osm2pgsql] Refactoring middle (#1098)

Jochen Topf notifications at github.com
Tue Mar 31 18:10:38 UTC 2020


Various refactoring of the middle code. See individual commits.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Refactor get_query_instance() in middle
  * Cleanup: Consistent iteration over middle pgsql tables
  * Refactor and clean up node_persistent_cache
  * Cleanup and test elem_cache_t
  * Remove unused functions

-- File Changes --

    M src/middle-pgsql.cpp (29)
    M src/middle-pgsql.hpp (3)
    M src/middle-ram.cpp (9)
    M src/middle-ram.hpp (57)
    M src/middle.hpp (25)
    M src/node-persistent-cache.cpp (43)
    M src/node-persistent-cache.hpp (13)
    M src/osm2pgsql.cpp (4)
    M src/osmdata.cpp (5)
    M tests/common-import.hpp (10)
    M tests/test-middle.cpp (28)
    M tests/test-output-multi-point-multi-table.cpp (2)
    M tests/test-parse-osmium.cpp (5)
    M tests/test-persistent-cache.cpp (46)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1098.patch
https://github.com/openstreetmap/osm2pgsql/pull/1098.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/1098
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200331/8d8e8160/attachment.htm>


More information about the Tile-serving mailing list