[Tile-serving] [openstreetmap/osm2pgsql] Refactor db_target_descr_t: Always need schema on construction and make it a real class (PR #2035)

Jochen Topf notifications at github.com
Mon Aug 14 13:19:13 UTC 2023


We now always construct this fully with schema, name, and id column. This way we make sure all data is there and there is no magic default for the schema.

This is also now a real class.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Refactor db_target_descr_t: Always need schema on construction
  * Make db_target_descr_t into a real class

-- File Changes --

    M src/db-copy.cpp (12)
    M src/db-copy.hpp (52)
    M src/flex-table.hpp (3)
    M src/gazetteer-style.hpp (6)
    M src/middle-pgsql.cpp (12)
    M src/middle-pgsql.hpp (7)
    M src/table.cpp (58)
    M tests/test-db-copy-mgr.cpp (5)
    M tests/test-db-copy-thread.cpp (10)

-- Patch Links --

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

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

Message ID: <openstreetmap/osm2pgsql/pull/2035 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230814/8316a9b5/attachment-0001.htm>


More information about the Tile-serving mailing list