[Tile-serving] [openstreetmap/osm2pgsql] Cleanup options handling (#1190)

Jochen Topf notifications at github.com
Wed May 27 11:35:14 UTC 2020


Various cleanups in the option handling code. See individual commits.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Simplify database connection options code
  * options_t isn't a virtual class
  * Make options_t into class (was a struct)
  * verbose option only used inside option parsing
  * Use enum class for hstore options instead of macros

-- File Changes --

    M src/geometry-processor.hpp (2)
    M src/middle-ram.hpp (2)
    M src/node-persistent-cache.hpp (2)
    M src/options.cpp (61)
    M src/options.hpp (44)
    M src/output-multi.hpp (2)
    M src/output.cpp (4)
    M src/table.cpp (16)
    M src/table.hpp (4)
    M src/tagtransform-c.cpp (2)
    M src/tagtransform.hpp (2)
    M tests/test-output-pgsql-hstore-match-only.cpp (2)

-- Patch Links --

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


More information about the Tile-serving mailing list