[Tile-serving] [osm2pgsql-dev/osm2pgsql] Refactor: Simplifiy code by using std::variant for copy mgr (PR #2209)
Jochen Topf
notifications at github.com
Sun Jul 7 20:43:38 UTC 2024
The second commit simplifies the code further.
You can view, comment on, or merge this pull request online at:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2209
-- Commit Summary --
* Refactor how COPY is handled, use variant instead of virtual class
* Create db connection in main thread and move it into the thread
-- File Changes --
M src/db-copy-mgr.hpp (110)
M src/db-copy.cpp (76)
M src/db-copy.hpp (88)
M tests/test-db-copy-thread.cpp (70)
-- Patch Links --
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2209.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2209.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2209
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/pull/2209 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240707/b5308964/attachment.htm>
More information about the Tile-serving
mailing list