[Tile-serving] [openstreetmap/osm2pgsql] Add --middle-propagate-changes option (#1310)
Jochen Topf
notifications at github.com
Tue Nov 10 10:08:27 UTC 2020
@joto commented on this pull request.
> @@ -72,13 +72,7 @@ middle_pgsql_t::table_desc::table_desc(options_t const &options,
m_copy_target->schema = options.middle_dbschema;
m_copy_target->id = "id"; // XXX hardcoded column name
- // Gazetteer doesn't use mark-pending processing and consequently
- // needs no way-node index.
- // TODO Currently, set here to keep the impact on the code small.
- // We actually should have the output plugins report their needs
- // and pass that via the constructor to middle_t, so that middle_t
- // itself doesn't need to know about details of the output.
- if (options.output_backend != "gazetteer") {
+ if (options.propagate_changes) {
m_prepare_intarray = build_sql(options, ts.prepare_mark);
m_array_indexes = build_sql(options, ts.create_index);
I added a commit for that.
--
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/1310#discussion_r520440469
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20201110/a38297f1/attachment-0001.htm>
More information about the Tile-serving
mailing list