[Tile-serving] [openstreetmap/osm2pgsql] Disable expire in create mode (#1438)

Sarah Hoffmann notifications at github.com
Sat Mar 27 21:20:58 UTC 2021


@lonvia commented on this pull request.



> @@ -1294,7 +1294,7 @@ void output_flex_t::delete_from_table(table_connection_t *table_connection,
     assert(table_connection);
     auto const id = table_connection->table().map_id(type, osm_id);
 
-    if (table_connection->table().has_geom_column()) {
+    if (!m_options.create && table_connection->table().has_geom_column()) {

You should rather skip this when expire is not enabled, which may also be the case for updates.

-- 
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/1438#pullrequestreview-622702586
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210327/36483d26/attachment.htm>


More information about the Tile-serving mailing list