[Tile-serving] [openstreetmap/osm2pgsql] Fix multistage processing (#1208)

Jochen Topf notifications at github.com
Sun Jun 14 10:24:18 UTC 2020


@joto commented on this pull request.



> @@ -821,14 +829,7 @@ int output_flex_t::table_add_row()
             throw std::runtime_error{
                 "Trying to add relation to table '{}'"_format(table.name())};
         }
-        if (m_in_stage2) {
-            delete_from_table(&table_connection, osmium::item_type::relation,
-                              m_context_relation->id());
-        }

We don't do stage 2 processing of relations any more, so they never need to be deleted.

-- 
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/1208#discussion_r439814480
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200614/0cc37cd6/attachment.htm>


More information about the Tile-serving mailing list